Video starts playing when page is loaded, How do I stop this? |
Video starts playing when page is loaded, How do I stop this? |
Biohazard |
Jun 20 2012, 01:30 PM
Post
#1
|
Group: Members Posts: 2 Joined: 20-June 12 Member No.: 17,297 |
Hello everybody! I am very new to XHTML and CSS but so far it seems pretty straightforward. However I can across a problem that I could not solve on my own.
I want to allow the user to be able to play a video if he chooses to, but the video starts up when the page gets loaded, even without the user telling the video to start. This is what code I used. <iframe src="http://player.vimeo.com/video/31930655?title=0&byline=0&portrait=0&autoplay=1" width="400" height="300" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe> Any ideas? Thanks everybody, Biohazard |
Christian J |
Jun 20 2012, 01:55 PM
Post
#2
|
. Group: WDG Moderators Posts: 9,650 Joined: 10-August 06 Member No.: 7 |
A guess is that this part of the URL:
CODE autoplay=1 causes the video to play. Try removing it or change its value to zero. Maybe vimeo.com offers more configuration instructions. |
Biohazard |
Jun 20 2012, 02:35 PM
Post
#3
|
Group: Members Posts: 2 Joined: 20-June 12 Member No.: 17,297 |
I managed to figure out a way around the problem, but I checked this out anyway and it worked perfectly! So thanks bro. |
Lo-Fi Version | Time is now: 18th April 2024 - 07:09 AM |