YouTube videos always autoplaying, controls missing
![]() ![]() |
Hi Sebaro, Since 2012.01.18 some YouTube videos always start playing automatically even if Autoplay is disabled, and I see no controls to stop or mute them, for example: https://www.youtube.com/watch?v=iSl2wxcnhpc tested with Firefox 9.0.1, no Flash plugin but JavaScript and cookies enabled. Clicking Play or Autoplay repeatedly or toggling HTML5 doesn't change anything, nor does entering or leaving the HTML5 trial on https://www.youtube.com/html5. Any ideas how to solve this problem? Regards,
EDIT: Sometimes the controls do appear when changing the format selector to WebM, but muting doesn't work anyway. |
![]() ![]() |
Hi Peter,
EDIT: Fixed in the 01.21 version (I hope). Let me know if it's OK. |
![]() ![]() |
If you using quicktime as external player for your script, the player is cropped on all sides, so no controls and missing half of the content. That comes from the fact your video object has only a style attribute for width and height on the window, you have to set width and height as separate attributes. generated src:
I guess you can even drop the style part, but the normal size attributes external players shouldn't really be resized to fit in the video container. |
![]() ![]() |
Hi sm00th,
|
![]() ![]() |
just tested it by modifying your script, didn't work at all
will add the attributes, but has apparently no effect. |
![]() ![]() |
In addition to that you have to put the width and height attibutes to the object tag, otherwise it can produce horrible bugs. you can add all tags at the same time, they don't conflict |
![]() ![]() |
For the second isn't exactfit not exact?
|
![]() ![]() |
Hi Sebaro, For me today's version has solved the problem. Regards,
|
![]() ![]() |
oh yes, it was "exactfit", I'm bad at copy/paste ;) param width/height has no effect, at least it doesn't exist on wmp objects.
quicktime worked, after i hacked those params in. vlc is always a little bit jiffy and produces bugs when starting webm format. but mp4 worked after the video loaded fully. at least thats what I got from testing around. I wouldn't recommend vlc anyway, because it has only some controls in fullscreen. another bug I've seen, if the video is available by youtube in html5, then the video is loaded and played anyway in the background, when you've joined the youtube html5 beta, after leaving the beta it worked normally. |
![]() ![]() |
I've added in the 1.22 version the params elements. Can you please tell me if it works now for large videos? There's a problem in the HTML5 trial. The HTML5 player is embedded after the script began to load. So, a document.getElementsByTagName('video').length is 0 when the script loads. I can do a loop until the HTML5 video is loaded/created. Is there a better way?
|
![]() ![]() |
Hi Sebaro, In my post two days ago I forgot to mention that the problem is solved only when I don't join the HTML5 trial.
Regards,
|
![]() ![]() |
Hi Peter,
|
![]() ![]() |
Works now fine with external plugin players, a friend uses wmp plugin and that works too, maybe I switch to that, because quicktime doesn't offer fullscreen. About WebM, if a video is available in that, I usually use that in Firefox. would be great if you can implement a switch to prefer either mp4 or webm, working together with the hd/sd/ld switch. |
![]() ![]() |
sm00th,
For now you can put WebM first in the vdoCont array from selectMyVideo function. I'll add a webm/mp4 switch button. |
![]() ![]() |
Hello i use the version of 19-02-2012 of viewtube, it has a problem with a machine equiped with Xubuntu 11.4, firefox 10.0.2, i can play the videos on youtube, i see the top controls, but the lower bar with play , pause stop button and evolution does appears at all. I use a similar configuration with another computer but with ubuntu 10.4 and works fine. It is a very nice tool , and save the old laptops to don't overheat, thank you for your work. |
![]() ![]() |
Hi,
|
![]() ![]() |
I checked all the plugins installed on both firefox, and installing the totem firefox plug-in after disabling vlc firefox plugin it resolved the problem, it is working fine now, thanks for your reply. |



