PDA

View Full Version : How would i ?



Mr Macro
23-05-2007, 08:23 PM
I want to include a video into a page.How would i do that.There MPG files and i was wandering if i could do it with HTML or JavaScript, or somthing along those lines.

Thanks in advance,
James

Mr.OSH
23-05-2007, 08:26 PM
You may need FFMPEG to stream video clips on web servers. I suggest you look at my tutorial explaining how to install it http://habboxforum.com/showthread.php?t=329917&highlight=FFMPEG . :)

Mr Macro
23-05-2007, 08:28 PM
Thanks for that, couldn't i just have somthing like YouTube to show the videos ?

I.E: The script not the website.

Mr.OSH
23-05-2007, 08:30 PM
Thanks for that, couldn't i just have somthing like YouTube to show the videos ?

Thats what FFMPEG does if you install the FFMPEG-PHP extension you can use that to stream the videos in a similar way to YouTube, once you install it take a look at the FFMPEG project sites and the documentation on how to stream files, encode them, etc. :)

Mr Macro
23-05-2007, 08:33 PM
Thanks, +rep :)

EDIT: Need to spread.

Mr.OSH
23-05-2007, 08:45 PM
Thanks, +rep :)

EDIT: Need to spread.

No problem, if you need more help ask me. ;) + rep.

Unpred5000
23-05-2007, 09:07 PM
I'm a noob but why don't you just get those media flash players which does videos as well?

ScottDiamond
23-05-2007, 09:13 PM
I'm a noob but why don't you just get those media flash players which does videos as well?

You need to install additional plug-ins most of the time. (The visitor).

:Edzy
24-05-2007, 07:42 PM
I want to include a video into a page.How would i do that.There MPG files and i was wandering if i could do it with HTML or JavaScript, or somthing along those lines.

Thanks in advance,
James

can't you use the media player <object> things

Unpred5000
24-05-2007, 08:31 PM
You need to install additional plug-ins most of the time. (The visitor).

Yeh true, that's what i got :P

timROGERS
24-05-2007, 09:13 PM
You don't have to install FFMPEG to have a video playing on your site. If you use the correct <object> and <embed> code, then it will work fine, and will use Windows Media Player to handle the video.

I don't know where all that FFMPEG stuff came from.

Ini
24-05-2007, 09:17 PM
upload it on youtube then get the code off there..

Invent
24-05-2007, 09:19 PM
You don't have to install FFMPEG to have a video playing on your site. If you use the correct <object> and <embed> code, then it will work fine, and will use Windows Media Player to handle the video.

I don't know where all that FFMPEG stuff came from.

I mentioned FFMPEG incase he wanted the videos to be like YouTube (using .flv videos, etc).

Mr Macro
27-05-2007, 04:31 PM
I want too do like a random video will be broadcast when the page loads.

Want to hide these adverts? Register an account for free!