Reply
Regular Contributor
leongaban
Posts: 97
Registered: ‎07-29-2011
0 Kudos
Accepted Solution

Urgent! Controls not working on Playlist player

http://touchstormdigital.com/clients/sony/facebook/eReader/

 

Any idea why none of the controls, play/pause, fullscreen aren't working on this video player? We have a facebook sweepstakes running live tonight :(

 

BEML:

 

<Runtime>
  <Theme name="Deluxe" style="Light">
    <Style id="default"><![CDATA[.titleText {fontSize: 12;}.bodyText {fontSize: 11;}.linkText {fontSize: 11;}]]></Style>
  </Theme>
  <Layout id="application" width="428" height="368" boxType="vbox" gutter="11" hAlign="center">
    <VBox padding="10">
      <VideoPlayer id="videoPlayer" height="263" video="{videoList.selectedItem}"/>
    </VBox>

    <TileList id="videoList" width="400" height="135" automaticAdvance="true" selectOnClick="true" rowHeight="45" columnWidth="65" buttonOffsetY="0" columnGutter="10" numRows="1" useBlur="true">
      <ListItem boxType="vbox" showBack="false">
        <ThumbnailButton height="45" data="{currentItem}" source="{currentItem.thumbnailURL}" imageInset="3"/>
        <Spacer height="1"/>
        <HBox padding="1">
          <TitleLabel text="{currentItem.displayName}" truncate="true" multiline="true"/>
        </HBox>
      </ListItem>
    </TileList>
  </Layout>
</Runtime>

 

Administrator
BC-Robert
Posts: 237
Registered: ‎02-12-2010
0 Kudos

Re: Urgent! Controls not working on Playlist player

Hi Leon,

 

The combined height of the list and player are greater than the overall layout height, so the list is partly covering the the player and preventing access to the controls. Increase the layout height by 20 or 30 pixels, and it will work -- you may have some excess gutter and padding there also that you want to reduce.

 

Finally, you should remove the Style tag -- it's not doing anything, since it's pointing to a non-existent ID -- not sure if that causes any issues, but better to just delete it.

 

Robert

Regular Contributor
leongaban
Posts: 97
Registered: ‎07-29-2011
0 Kudos

Re: Urgent! Controls not working on Playlist player

[ Edited ]

Ah sweet thanks, that was it :D

 

 <TileList id="videoList" width="400" height="135"

 

to

 

 <TileList id="videoList" width="400" height="105"