Search
Search titles only
By:
Search titles only
By:
Forums
New posts
Search forums
What's new
New posts
Latest activity
Feedback
View Statistics
Members
Current visitors
Buy Sell Trade
WTB
Log in
Register
Search
Search titles only
By:
Search titles only
By:
New posts
Search forums
Menu
Install the app
Install
Reply to thread
Forums
Technology
Programming
Javascript/HTML5/CSS implementing video onclick
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="Aphro_EVO" data-source="post: 1637980" data-attributes="member: 23249"><p>Hey Guys</p><p></p><p>I have a couple of images. If image 1 is clicked the player window should play videos/video-abc.mp4, if image 2 is clicked it should play videos/video-xyz.mp4. Currently I am using video tag(HTML5) like such</p><p></p><p>[CODE]</p><p></p><p><video width="320" height="215" controls="controls"></p><p></p><p> <source src="videos/mgs4review.mp4" type="video/mp4" /></p><p></p><p> <source src="movie.ogg" type="video/ogg" /></p><p></p><p> Your browser does not support the video tag.</p><p></p><p> </video></p><p></p><p>[/CODE]</p><p></p><p>Please note - its a simple website that i am building as a personal project, there's no back-end. I am simply using HTML5/CSS/Javascript. Seeking your help.</p><p></p><p>Thanks</p></blockquote><p></p>
[QUOTE="Aphro_EVO, post: 1637980, member: 23249"] Hey Guys I have a couple of images. If image 1 is clicked the player window should play videos/video-abc.mp4, if image 2 is clicked it should play videos/video-xyz.mp4. Currently I am using video tag(HTML5) like such [CODE] <video width="320" height="215" controls="controls"> <source src="videos/mgs4review.mp4" type="video/mp4" /> <source src="movie.ogg" type="video/ogg" /> Your browser does not support the video tag. </video> [/CODE] Please note - its a simple website that i am building as a personal project, there's no back-end. I am simply using HTML5/CSS/Javascript. Seeking your help. Thanks [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Technology
Programming
Javascript/HTML5/CSS implementing video onclick
Top
Bottom