JavaScript function that prevents YouTube video playing at the same time (No iframe) -
just clarify, aware of youtube playback control required:
player.pausevideo():void
but know how can utilise without using iframe , javascript function needed, have multiple videos choose , want avoid videos playing @ same time.
i have inserted videos youtube using code:
<div id="apdiv10"><embed width="200" height="140" id="yt9" src="https://www.youtube.com/v/a2p17bdrgqu"></div> <div id="apdiv11"><embed width="200" height="140" id="yt10" src="https://www.youtube.com/v/membfbz_9we"></div>
can provide run down me , how can apply function?
Comments
Post a Comment