Quantcast
Jump to content


Play youtube video along with native videos in samsung tizen tv


Recommended Posts

 <article>

        <div><img id="imageTag" src=""></div>
        <div><video id="videoTag" onended="onVideoEnded();" src=""></video></div>

        <!--<div id="YoutubePlayer" width="600" height="400" src="" frameborder="0" sandbox="allow-same-origin allow-scripts allow-popups allow-forms allow-top-navigation" style="z-index: 1;"></div>-->
        <div style="position:fixed; top:50%; left:50%; transform:translate(-50%, -50%); z-index:999;">
        <div id="YoutubePlayer" style="width:600px; height:400px;"></div>
    </div>

    </article>

As to play the youtube video we need to use the youtube iframe, we are facing challenge here. When the youtube video plays on the TV, we lose control over app and hence next video as per CMS does not play. Same happens vice versa i.e when a video from CMS starts playing we are not able to play youtube video if it is next in the list.
Link to comment
Share on other sites



  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...





×
×
  • Create New...