Results 1 to 3 of 3
- 07-04-2012, 06:23 AM #1
Member
- Join Date
- Jul 2012
- Posts
- 2
- Rep Power
- 0
making a video play with custom button?
Basically, i cant figure out a way to start the twitcam once the button is pressed any help guys?Java Code:<script type="text/javascript"> function myFunction() { document.write('<table border="1" cellspacing="1" cellpadding="5">') for(i = 0; i < 1; i++){ document.write('<tr>') document.write('<td><embed name="twitcamPlayer" src="http://static.livestream.com/grid/LSPlayer.swf?hash=asqy3&autoplay=1" width="360" height="100" ></embed>' + i + '</td>') document.write('</tr>') } } document.write('</table>') </script> <button onclick="myFunction()">Try it</button>
Im new i dont know if this the right section, so sorry
-
Re: making a video play with custom button?
This is a Java forum, and you appear to be asking a JavaScript question. Please understand that Java is to JavaScript as Ham is to Hamster. They're not the same language, and since you've asked your question in the wrong forum, we can't help you. I still wish you success in solving this, but recommend that you ask Google to help you find some JavaScript forums so you can get real help, and waste less of your time waiting for answers that will never come.
Luck.
- 07-04-2012, 06:47 AM #3
Member
- Join Date
- Jul 2012
- Posts
- 2
- Rep Power
- 0
Similar Threads
-
Play A Video in JFrame
By Godslug in forum AWT / SwingReplies: 1Last Post: 03-26-2012, 12:25 PM -
how to play a video from a file using jmf in a java
By 200808147 in forum New To JavaReplies: 0Last Post: 07-10-2011, 12:20 PM -
Is there a way to play the video until I click the "start "button?
By aprilcomingsoon in forum XMLReplies: 0Last Post: 06-07-2010, 06:23 PM -
How to play video files in Java
By Hasan in forum Advanced JavaReplies: 11Last Post: 04-26-2009, 11:57 PM -
code to play Video from server
By arvind in forum CLDC and MIDPReplies: 0Last Post: 04-15-2009, 09:19 AM


LinkBack URL
About LinkBacks

Bookmarks