Video doesn’t work first time. But works the second time
-
We have embedded video from youtube in format https://www.youtube.com/watch?v=-gX0DERzBS0
On the first click on embedded video we get the info “The video is no available”
But after closing that video player window and clicking again on video thumbnail, everything works fine.I have copied the information from the videoplayer when it doesn’t work and get this information:
{ "ns": "yt", "el": "embedded", "cpn": "Q_fc3Jw1MtABCzFW", "ver": 2, "cmt": "0", "fs": "0", "rt": "10.895", "euri": "https://hurryskurry.com/", "lact": 1, "cl": "477567167", "mos": 1, "state": "80", "volume": 50, "cbrand": "apple", "cbr": "Chrome", "cbrver": "105.0.0.0", "c": "WEB_EMBEDDED_PLAYER", "cver": "1.20220928.01.00", "cplayer": "UNIPLAYER", "cos": "Macintosh", "cosver": "10_15_7", "cplatform": "DESKTOP", "autoplay": "1", "epm": 1, "splay": "1", "hl": "sv_SE", "cr": "SE", "len": "0", "fexp": "23940247,23983296,24001373,24002022,24002025,24004644,24007246,24080738,24135310,24169501,24219381,24226335,24248385,24255163,24277989,24278546,24283280,24289901,24290131,24293409,24297309,24299297,39322399", "size": "922:518", "inview": "0", "muted": "1", "docid": "-gX0DERzBS0", "vct": "0.000", "vd": "NaN", "vpl": "", "vbu": "", "vpa": "1", "vsk": "0", "ven": "0", "vpr": "1", "vrs": "0", "vns": "0", "vec": "null", "vemsg": "", "vvol": "0.5", "vdom": "1", "vsrc": "0", "vw": "0", "vh": "0", "debug_error": "{\"errorCode\":\"auth\",\"errorDetail\":\"0\",\"errorMessage\":\"Videon ?r inte tillg?nglig\",\"yl\":\"\",\"RS\":\"0;a6s.0\",\"IC\":2}", "relative_loudness": "NaN", "user_qual": 0, "release_version": "youtube.player.web_20220928_01_RC00", "debug_videoId": "-gX0DERzBS0", "0sz": "true", "op": "", "yof": "true", "dis": "", "gpu": "ANGLE_(Intel_Inc.,_Intel(R)_Iris(TM)_Plus_Graphics_655,_OpenGL_4.1)", "debug_playbackQuality": "unknown", "debug_date": "Sat Oct 01 2022 12:09:01 GMT+0200 (centraleuropeisk sommartid)" }
This is the embedded code on first click when it doesn’t work:
<iframe width=”922″ height=”518″ src=”https://www.youtube.com/embed/-gX0DERzBS0″ title=”” frameborder=”0″ allow=”accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture” allowfullscreen></iframe>And this is the embedded code when I click on the video for the second time and it works:
<iframe width=”922″ height=”518″ src=”https://www.youtube.com/embed/-gX0DERzBS0?list=TLGG1LiwiXMobzIwMTEwMjAyMg” title=”Gelli, Gelli, Gelli time! Brand new Gelli & Slime commercial from Jay at Play” frameborder=”0″ allow=”accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture” allowfullscreen></iframe>I can see that it is a different in the link between the first and second click, src=”https://www.youtube.com/embed/-gX0DERzBS0″ compared with src=”https://www.youtube.com/embed/-gX0DERzBS0?list=TLGG1LiwiXMobzIwMTEwMjAyMg”
What is wrong?
The page I need help with: [log in to see the link]
- The topic ‘Video doesn’t work first time. But works the second time’ is closed to new replies.