I have a video on my website and I don't want to give out the url but rather embed it onto their forum/blog etc. It is a www.urlhere.c0m/****.wmv Please give me an example on how to embed that somewhere else, thank you.
Would it not just be easier to upload the video to one of the video sharing sites (google /youtube etc.) and copy and paste the embed link into any website or blog you want it to appear in !
That's it! That way you reduce your traffic, and what can be better for delivering video than youtube?
You can host your script to one server and user another server for files but you will have to modify the script.
if you really want to do it you can use windows media player to embed the video, here is the code: <OBJECT id="VIDEO" width="320" height="240" style="position:absolute; left:0;top:0;" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject"> <PARAM NAME="URL" VALUE="your file or url"> <PARAM NAME="SendPlayStateChangeEvents" VALUE="True"> <PARAM NAME="AutoStart" VALUE="True"> <PARAM name="uiMode" value="none"> <PARAM name="PlayCount" value="9999"> </OBJECT> Code (markup): all you need to do is plug in the url that you ware talking about where it says your file or url, and post the code to the website you want the video to appear on. simple
Look at the jQuery media plugin. It needs jQuery but it makes embedding things hella easy. Be aware that .wmv isn't a popular format. I would encode it into flash before distributing it.
As Panzer has said, I would strongly consider moving away from using .wmv encoding as that limits you quite a bit to who can actually see your videos. Flash video (.flv) is much more widespread and easier to distribute. I would take a look at hat for video files.
If you have wordpress, Install the "JW player plugin for wordpress" and when you upload a video to your site just click the "insert with JW player". If you do not use wordpress or just want to host videos like the pro, check out ezs3.com EZS3 is what I personally use and highly recommend implementing it. There is a monthly fee, so use the free JW plugin if you have a tight budget.