Reply
Visitor
richclever
Posts: 9
Registered: ‎06-15-2011
0 Kudos

HTML5 video not playing with custom theme

Hi,

 

Not sure what is stopping this from working.  We have a customer BEML template on our player but when I load the video on an Android device, whilst teh player shows up with the video thumbnail and player controls it won't play when I click 'play'.  Adding my BEML below to see if anyone can give me a hint.  Flash playback works fine.

 

Also, does anyone know if there is anyway to simulate cue points in the HTML5 player?  We would love to tigger events in all players if possible but it doesn't look like it's possible.

 

 

 



<Runtime>
  <Theme name="Deluxe" style="Dark"/>
  <Layout id="application" width="717" height="400" boxType="vbox" padding="0" gutter="0" backgroundColor="0x01000000">
    <Canvas>
      <VideoPlayer id="videoPlayer" video="{videoList.selectedItem}"/>
      <Image id="myLogo" source="http://ourhost/testimages/test.png" width="176" height="24" x="30" y="30"/>
      <SWFLoader source="flash/CompactMinimizingListPlayer.swf?buttonX=35&amp;buttonY=283&amp;listY=135" x="0" y="0"/>
      <VBox gutter="0" id="expandedList" y="1000">
        <List id="videoList" rowHeight="38" automaticAdvance="true" selectOnClick="true" itemInsetV="4" itemLeading="2" height="165">
          <ListItem boxType="hbox">
            <Spacer width="8"/>
            <VBox width="36" height="100%" vAlign="middle">
              <ThumbnailButton height="30" data="{currentItem}" source="{currentItem.thumbnailURL}"/>
            </VBox>
            <Spacer width="7"/>
            <TitleLabel text="{currentItem.displayName}" truncate="true" vAlign="middle"/>
            <Spacer width="3"/>
          </ListItem>
        </List>
      </VBox>
    </Canvas>
  </Layout>
</Runtime>
Moderator
BC-Erika
Posts: 185
Registered: ‎12-09-2008
0 Kudos

Re: HTML5 video not playing with custom theme

It is probably this line, if you do a test without this, does it work properly? Is it a Flash-enabled Android?

 

<SWFLoader source="flash/CompactMinimizingListPlayer.swf?buttonX=35&amp;buttonY=283&amp;listY=135" x="0" y="0"/>


There is not yet an API for the HTML5 player, so I don't know of any way you could simulate that today.

 

Erika

Visitor
richclever
Posts: 9
Registered: ‎06-15-2011
0 Kudos

Re: HTML5 video not playing with custom theme

Hi Erika,

 

Thanks for your help, that sorted it for me.

 

Is there any plans to introduce the player API for HTML5 videos at all?

 

Thanks,

 

Richard

 

Moderator
BC-Erika
Posts: 185
Registered: ‎12-09-2008
0 Kudos

Re: HTML5 video not playing with custom theme

Hi Rich,

 

Yes, Brightcove is planning that, but sorry no date has been announced.

 

Erika