I am using IFrame Player API  to play youtube videos in my website.when user clicks a particular link it popups a lightbox and plays video automatically.In Desktop it works fine,and in ios I understand why doesn't it work (they already mentioned...
I would like to embed a 360 youtube video into a web page and then allow the user to 'look around' by affecting which direction of the video is displayed based on the phone's gyroscope.  Does Youtube provide an API for this level of contr...
Here I found an example how I can listen Play\Pause button of youtube iframe.  player.addEventListener('onStateChange', function(e) {     console.log('State is:', e.data); });   Now I need to listen the volume changes. In the youtube...
This is the error message that I get:  Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.youtube.com') does not match the recipient window's origin  ('http://localhost:9000')....
Youtube is showing a menu with video suggestions while my embedded video is paused. The element in the iframe has the class 'ytp-pause-overlay'  How can you remove it without removing controls?...
I am trying to hide related videos that shows up when you pause a video but as I found out from similar questions that as of September 25th 2018 there is no way to disable the related videos from displaying.     The effect of the change is that you w...
I have embedded a youtube video on my website(which is a playlist link),I want to get the timestamp of the video when the video is being played by the user. The youtube video is embedded on my website as :   <iframe src="//www.youtube.com/embe...
I embedded an iframe video and I want to detect when the user has exited (tapped “done”) the fullscreen functionality on mobile Safari that takes place when you tap “play”. I tried the code below:  HTML  <iframe id="video-iframe" s...
I have below JS code for youtube API -  <html> <script> var tag = document.createElement('script'); tag.src = "https://www.youtube.com/iframe_api"; var ScriptTag = document.getElementsByTagName('script')[0]; Script...
Using the YouTube Iframe API I get the following error in Safary 9.1, OS X Yosemite.      Unable to post message to http://www.youtube.com. Recipient has origin https://www.youtube.com   The page does work in other browsers (e.g. Firefox, Chrome etc)...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.