I have been trying to figure out how to embed video into a HTML web page.
I want to use the flash player that comes prepackaged in the latest versions of FLASH. Can anyone give me an easy tutorial on how to do this?
Try something like this code if you want a webcam to show:
| Code: |
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="640" HEIGHT="480" id="mycam" ALIGN="">
<PARAM NAME=movie VALUE="mycam.swf?webcam=http://www.mydomain.com:8081/cam_1.jpg&refresh=1"><PARAM NAME=loop VALUE=false> <PARAM NAME=menu VALUE=false> <PARAM NAME=quality VALUE=high> <PARAM NAME=scale VALUE=noscale> <PARAM NAME=salign VALUE=LT> <PARAM NAME=wmode VALUE=tranparent>
<EMBED src="mycam.swf?webcam=http://www.mydomain.com:8081/cam_1.jpg&refresh=1" quality=high WIDTH="840" HEIGHT="700" NAME="mycam" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT> |
Put it where you want the cam to show.
It can also be adapted to video files.
I have a youtube-clone script, which works pretty good. I can send it to you if you want 
I found a cool freeware program called SUPER that will convert just about any video file format into a .SWF file, but it won't have any usual video controls like start/stop/pause buttons.
http://www.erightsoft.com/SUPER.html
Otiscom, I believe a script like that goes in the body of a html page,
and the seperate myvideo.swf asset for a movie to play gets loaded into the same directory on the server.
I have gotten my test video to stream using a script like that.
The piece that I'm missing so far is how to make a myvideo_controller.swf and possably a myvideo_config.xml file that contains the actionscripts for the start/stop/pause buttons.
Jaan, does your clone script create basic video controls?
I would like to try it.
Hi Jaan.
Could i have the youTube clone script too. Is it in php ?
And if u have flash (developing program) , is it possible to embed video with the playing controls and make an swf ?
Flash pro 8 costs ~$700.
Thats why we are figuring out other ways to do it.
There are tons of free flash tools out there.
There has to be a way to get this to work without spending $700.
I just use dreamweaver to do embedding. Just drag and drop the video.
The latest Dreamweaver is still a $400 program.
How do you set the autoplay, looping and controls functions by just dragging and dropping the video file?