The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Video starts playing when page is loaded, How do I stop this?
Biohazard
post 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&amp;byline=0&amp;portrait=0&amp;autoplay=1" width="400" height="300" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>

Any ideas?

Thanks everybody,
Biohazard
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Biohazard
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 18th April 2024 - 07:09 AM