-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
www.bestbuy.com - “Geek Squad Services” video doesn’t play #5572
Comments
Confirmed. |
The URL bar shows
<div style="position:relative; width:320px; height:180px;">
<a href="javascript: { var vid = document.getElementById('video_1943544786'); if (firstTime) {vid.load(); firstTime = false;} if (vid.paused) vid.play(); else vid.pause(); }">
<video id="video_1943544786" src="http://lcmob.net/1943544786&mobile=true&reporting=false"
poster="http://ecdn.liveclicker.net/8079A8/origin/thumbnails/1937/1375934542_1_Flv_320x180_thumb_2.jpg"
controls="controls" width="320" height="180">
<track kind="subtitles" label="English" src="http://lcmob.net/1943544786&subtitle=true&lang=en">
<track kind="subtitles" label="Español"
src="http://lcmob.net/1943544786&subtitle=true&lang=es">
</video>
</a>
</div> |
This is the content of the |
Would it have been better to use jQuery to handle the event instead? It is common practice to separate the content of HTML with action/behaviour. Or instead of jQuery an onclick_ event handler would have been better. |
They have this
As such the browser is supposed to do the "default" action for that link, which in the case of Firefox and Safari is to open a new tab and "visit" the link. Edge and Chrome don't do so, and seem to just ignore the default action. (I'm not sure if MobileSafari does what desktop Safari does in this case). One way or the other, adding the missing
I'll try to figure out if Chrome and Edge are being "clever" for cases like this with nested videos, or just treating all |
Actually no, I was wrong. Safari does seem to be handling things as Chrome and Edge do. It seems like this is specific to the |
It does seem to be the case that Firefox is currently breaking Edit: it seems to be triggered by getting a promise, but not handling it. It doesn't have to be a play() promise specifically. That's why |
Thanks @wisniewskit. Let's start by reaching out to a couple developers over LinkedIn. |
Our contact has passed this report along to the appropriate team internally. |
URL: http://www.bestbuy.com/site/electronics/geek-squad/pcmcat138100050018.c?id=pcmcat138100050018
Browser / Version: Firefox Mobile Nightly 55.0a1 (2017-04-09)
Operating System: Android 6.0.1
Problem type: Video doesn't play
Steps to Reproduce
Expected Behavior:
Video plays.
Actual Behavior:
Video doesn’t play.
Note:
javascript:%20{%20var%20vid%20=%20document.getElementById('video_1943544786');%20if%20(firstTime)%20{vid.load();%20firstTime%20=%20false;}%20if%20(vid.paused)%20vid.play();%20else%20vid.pause();%20}
Watchers:
@softvision-sergiulogigan
@softvision-oana-arbuzov
sv; country: us
From webcompat.com with ❤️
The text was updated successfully, but these errors were encountered: