Mahesh Gadhe Posted February 14 Report Share Posted February 14 <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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.