School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 300,449 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,565 people online right now. Registration is fast and FREE... Join Now!




Embed Video files

 

Embed Video files

houston_00

28 Apr, 2009 - 02:08 PM
Post #1

New D.I.C Head
*

Joined: 14 Aug, 2008
Posts: 4

I am working on programming a web survey in html and will need to embed some wmv/mov videos. I will need to remove the menu options so that the videos can not be stopped, paused, rewind, etc. In the past i have used the object and embed tags for each of the file types (wmv mov) but have run into issues where the tags are not consistent among all browsers types. Someone suggested I use Flash but i am not at all familiar with it. Does someone have links to tutorials for achieving this with flash? Will i need to buy software for converting my wmv/mov files?

User is offlineProfile CardPM
+Quote Post


noname_clark

RE: Embed Video Files

28 Apr, 2009 - 02:42 PM
Post #2

New D.I.C Head
*

Joined: 22 Oct, 2008
Posts: 44



Thanked: 2 times
My Contributions
if you have flash, use it, it's real simple. If you don't, get it from adobe with a 30 day free tria. the benifit of flash is that the smiles are real small and easy to manage.
all you need to do is open the flash and start a new "flash file", then go to "file" => "import" => "import video..." and click next until you are on the "skining" part, pick a nice one and encode it!
once encoded, if you are using Dreamweaver, just drag the .fla file into the page where you want it, and dreamweaver embles it. there should be two files that come with it, a .fla and a .flv. make sure they are in the same directory or it won't work

This post has been edited by noname_clark: 28 Apr, 2009 - 02:44 PM
User is offlineProfile CardPM
+Quote Post

houston_00

RE: Embed Video Files

28 Apr, 2009 - 02:50 PM
Post #3

New D.I.C Head
*

Joined: 14 Aug, 2008
Posts: 4

Thanks for the reply. Do you know of a cheaper alternative to dreamweaver?
User is offlineProfile CardPM
+Quote Post

RPGonzo

RE: Embed Video Files

29 Apr, 2009 - 08:59 AM
Post #4

// Note to self: hmphh .... I forgot
Group Icon

Joined: 16 Mar, 2009
Posts: 743



Thanked: 89 times
Dream Kudos: 25
My Contributions
EDIT: I know you said you were familiar with this method but i posted before it clicked in my head .. not enough coffee ...

CODE

<embed name="MediaPlayer"
pluginspage="http://www.microsoft.com/windows/windowsmedia/download/"
src="moviename.wmv" width="320" height="286" type="application/x-mplayer2" showstatusbar="0" showdisplay="0"
showcontrols="1"></embed>
<param value="True" name="Showcontrols" />
<param value="False" name="autoStart" />


i use this one ... it works but not W3C compliant ... and i tested in IE6+, FF2+, Chrome and Safari with no issues

As well as flash would be your best way and you CAN use it and be W3C compliant and also maintain a dynamic method ... its not that hard honestly just a matter or learning a couple of tricks in the process to make it the way you want ( easier if hard coded trickier if dynamic )

This post has been edited by RPGonzo: 29 Apr, 2009 - 09:08 AM
User is offlineProfile CardPM
+Quote Post

thehat

RE: Embed Video Files

29 Apr, 2009 - 09:08 AM
Post #5

awake ? web();
Group Icon

Joined: 28 Feb, 2008
Posts: 894



Thanked: 90 times
Dream Kudos: 175
My Contributions
If you're going to go down the Flash route, don't let dreamweaver embed your swf for you. You'll get much better results using SWFObject.
User is offlineProfile CardPM
+Quote Post

RPGonzo

RE: Embed Video Files

29 Apr, 2009 - 09:28 AM
Post #6

// Note to self: hmphh .... I forgot
Group Icon

Joined: 16 Mar, 2009
Posts: 743



Thanked: 89 times
Dream Kudos: 25
My Contributions
QUOTE(thehat @ 29 Apr, 2009 - 09:08 AM) *

If you're going to go down the Flash route, don't let dreamweaver embed your swf for you. You'll get much better results using SWFObject.


Agreed and the dreamweaver method will get you in trouble with validation as well ...
User is offlineProfile CardPM
+Quote Post

DSeyir

RE: Embed Video Files

2 Jul, 2009 - 09:03 AM
Post #7

New D.I.C Head
*

Joined: 2 Jul, 2009
Posts: 1

Hey, thanks guys,
I've also used this "manipulation" to insert a video to my website.
I've created the video in flash, then in dreamweaver I pointed the "origin" to the swfobject and it works great, but theres no controls, how can i add it?
It just starts automatically.

Thanks for any help
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/8/09 01:48AM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month