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

Problem: Videos do not show up in player based off a template copy

Hi, originally I started a question here in the BEML forums about this problem. 

 

It was solved because I forgot to add a playlist to my playlist player. However, that solution only worked when the player I was added a playlist too was build from a default standard BrightCove template (one that cannot be styled). When I then tried to do the samething on a player build from a COPY of one of those standard BrightCove templates, once again my videos do not show up.

 

Here is my test page showing both players. (Both players have the correct playlist added in the Media Module)

 

Individually here is the player that works, but build off a Template and not a copy, thus we cannot edit any BEML for styling:

https://console.brightcove.com/services/preview/bcpid1619826744001

 

Here is the player we wish to use, build off a COPY of a template so we can style it, but videos do not show up:

https://console.brightcove.com/services/preview/bcpid1619826771001

 

Please help!

 

Here is the BEML in the template COPY

<Runtime>
  <Theme name="Deluxe" style="Light">
    <Style id="default"><![CDATA[.titleText {fontSize: 12;}.bodyText {fontSize: 10;}.linkText {fontSize: 10;}]]></Style>
  </Theme>
  <Layout id="application" width="854" height="418" boxType="vbox" padding="6" gutter="4">
  <!--<Layout id="application" width="798" height="516" boxType="vbox" padding="6" gutter="4">-->
  <!--<Layout id="application" width="798" height="603" boxType="vbox" padding="6" gutter="4">-->

    <!--<HBox height="40" vAlign="bottom" gutter="9">
      <Image id="logo" width="300" scaleMode="scaleDown" hAlign="left" vAlign="bottom"/>
      <TabBar id="playlistTabs" height="22" tabAlign="right" hideSingleTab="true"/>
    </HBox>-->

    <HBox height="406" gutter="6">

      <VideoPlayer id="videoPlayer" width="580" video="{videoList.selectedItem}"/>
      
      <List id="videoList" rowHeight="78" automaticAdvance="true" data="{playlistTabs.selectedItem.videoDTOs}" selectOnClick="true" itemInsetV="4" itemLeading="2">
        <ListItem boxType="hbox">

          <Spacer width="8"/>
          <VBox width="70" height="74" vAlign="middle">
            <ThumbnailButton height="60" data="{currentItem}" source="{currentItem.thumbnailURL}"/>
          </VBox>
          <Spacer width="7"/>

          <VBox>
            <Spacer height="3"/>
            <TitleLabel height="18" text="{currentItem.displayName}" truncate="true"/>
            <Label height="52" multiline="true" text="{currentItem.shortDescription}" truncate="true"/>
          </VBox>

          <Spacer width="3"/>
        </ListItem>
      </List>

    </HBox>

    <!--<VBox gutter="15">
      <HBox height="32">
        <Spacer width="6"/>
        <VBox>
          <TitleLabel height="24" width="765" id="videoTitle" text="{videoPlayer.video.displayName}" selected="true" size="18" truncate="true"/>
          <Canvas>
            <Link x="1" y="-5" size="10" id="relatedLink" text="{videoPlayer.video.linkText}" vAlign="bottom" url="{videoPlayer.video.linkURL}"/>
          </Canvas>
        </VBox>
      </HBox>
      <HBox width="757" hAlign="right">
        <Canvas width="728">
          <Image id="bottomImage" width="728" height="90" scaleMode="scaleDown"/>
          <ExpandingBanner id="banner" expandedHeight="405" width="728" height="90" expandedWidth="299" buttonWidth="90" expandedOffsetY="-52" expandedOffsetX="458" disableOnExpand="playlistTabs,videoList" bannerFormats="2,6,20"/>
        </Canvas>
      </HBox>
    </VBox>-->

  </Layout>
</Runtime>

 

 

Brightcove Team
BC-Jonathan
Posts: 235
Registered: ‎09-30-2011
0 Kudos

Re: Problem: Videos do not show up in player based off a template copy

Have you tried removing those comment tags?

 

Thanks

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

Re: Problem: Videos do not show up in player based off a template copy

That was it, I can't believe it was comments, all our other players have comments in them.

Brightcove Team
BC-Jonathan
Posts: 235
Registered: ‎09-30-2011
0 Kudos

Re: Problem: Videos do not show up in player based off a template copy

Maybe it was just the placement of the comments.  Either way, I am glad it works !

 

 

Thanks