Web Design Forums

HTML and CSS Help

Having problems with these web design scripting? Ask here.

embedding videos?



Site of the Month Nominations
ENTER YOUR SITE NOW!

Reply
 
LinkBack Thread Tools
Old May 27 '09, 01:04 AM (#1)
diddy is offline
[insert witty comment here]
 
diddy's Avatar
 
Join Date: June 2008
Location: Sydney, Australia
Posts: 500
diddy will become famous soon enoughdiddy will become famous soon enough
embedding videos?

Hello. Haven't found a simple answer to this anywhere and I am needing some clear advice on this. I want to embed a video into my website. It will probably be an avi or swf file. I've head that the <embed></embed> tags aren't used anymore, and that the best way to go about this is to use <object> and <param> tags. My question is this: how to I work wit these? Can someone please explain exactly what to do with these tags and all of the <param> options please? I've read up on it all and am confused. Could someone please explain it clearly to me? Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 2 '09, 11:40 AM (#2)
medlington is offline
WDF Regular
 
medlington's Avatar
 
Join Date: November 2005
Location: Sheffield, UK
Posts: 192
medlington is on a distinguished road
not too sure off hand, I find the easiest way is to embed the video using Flash. Publish yuor flash file and then open the html file thats been created in dreamweaver or notepad. Then just copy and paste all the flash element into yuor webpage where erquired.

You usualy need to include the javascript bit at the top too.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 2 '09, 05:20 PM (#3)
diddy is offline
[insert witty comment here]
 
diddy's Avatar
 
Join Date: June 2008
Location: Sydney, Australia
Posts: 500
diddy will become famous soon enoughdiddy will become famous soon enough
Ok, thanks for the response. Anyone got any ideas on doing this with avi files? Do I just copy and paste the flash code produced as medlington said above and then change the filename, or do I have to change other options?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 3 '09, 10:17 AM (#4)
medlington is offline
WDF Regular
 
medlington's Avatar
 
Join Date: November 2005
Location: Sheffield, UK
Posts: 192
medlington is on a distinguished road
I think embedding an AVI is a bad idea as the file sizes are probably going to be too big for the web. I think quicktime movs could be better for you.

Dont know exactly how to embed those, I think you need to embed the quicktime player or similar. It wont work editing the Flash code for Avis or Movs though.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 3 '09, 02:45 PM (#5)
mlseim is offline
WDF Staff
 
mlseim's Avatar
 
Join Date: April 2004
Location: Cottage Grove, Minnesota
Posts: 3,401
mlseim has much to be proud ofmlseim has much to be proud ofmlseim has much to be proud ofmlseim has much to be proud ofmlseim has much to be proud ofmlseim has much to be proud ofmlseim has much to be proud ofmlseim has much to be proud ofmlseim has much to be proud ofmlseim has much to be proud of
I think you might want to try finding a "shareware" conversion program,
convert your video to Flash (.flv type). Maybe you can try one for free and
see if it works.

Free Flash players to embed on web pages are easy to find on the internet.
Like FlowPlayer, for example.

I just think it's easiest to use Flash because most people (PC and Mac) have
the Macromedia plug-ins. Like PDF files, they seem to be very portable.
But this is just my opinion ... others might have a better idea on this one.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 4 '09, 02:23 AM (#6)
diddy is offline
[insert witty comment here]
 
diddy's Avatar
 
Join Date: June 2008
Location: Sydney, Australia
Posts: 500
diddy will become famous soon enoughdiddy will become famous soon enough
Yeah, I'd most likely use flash formats, but I was also wondering about avi, but I don't think that's very important.. I wouldn't use quicktime either, as I find that most users don't have it.

Thanks for the responses!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 4 '09, 02:46 AM (#7)
aburningflame is offline
WDF Regular
 
aburningflame's Avatar
 
Join Date: December 2008
Posts: 477
aburningflame has a spectacular aura aboutaburningflame has a spectacular aura aboutaburningflame has a spectacular aura about
you can use an object tag to embed videos and this adheres to strict. cross browser support is horrible, and if you dont mind not being strict use the EMBED tag.

if you WANT to conform to standards use a flash player
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 4 '09, 02:48 AM (#8)
diddy is offline
[insert witty comment here]
 
diddy's Avatar
 
Join Date: June 2008
Location: Sydney, Australia
Posts: 500
diddy will become famous soon enoughdiddy will become famous soon enough
in that case I'll use a flash player!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 4 '09, 02:50 AM (#9)
diddy is offline
[insert witty comment here]
 
diddy's Avatar
 
Join Date: June 2008
Location: Sydney, Australia
Posts: 500
diddy will become famous soon enoughdiddy will become famous soon enough
don't you need <object> to emebed flash?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 4 '09, 05:53 AM (#10)
ketanco is offline
WDF Regular
 
ketanco's Avatar
 
Join Date: October 2007
Posts: 228
ketanco is an unknown quantity at this point
i have a .mov video file....I have never added video to webpage before. can someone write a simple minimum code in html to add video please? ...
I understand that I need to use embed or object tags etc...but i don't know the exact syntax. So again, all I want is a simple html line to add a video. not flash, nothing complicated.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 4 '09, 06:23 AM (#11)
diddy is offline
[insert witty comment here]
 
diddy's Avatar
 
Join Date: June 2008
Location: Sydney, Australia
Posts: 500
diddy will become famous soon enoughdiddy will become famous soon enough
yeah, I wouldn't mind that also. For me flash is good. I haven't found one simple explanation of how to do this on the internet so far.

BTW kentaco, as suggested above you may want to use a flash format instead. It's more widely supported in most cases.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 4 '09, 01:00 PM (#12)
aburningflame is offline
WDF Regular
 
aburningflame's Avatar
 
Join Date: December 2008
Posts: 477
aburningflame has a spectacular aura aboutaburningflame has a spectacular aura aboutaburningflame has a spectacular aura about
heres a resouce for embedding.
GOOGLE IS YOUR FRIEND

http://joliclic.free.fr/html/object-...ect-video.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 8 '09, 07:37 PM (#13)
Dorky is offline
Freelance
 
Dorky's Avatar
 
Join Date: June 2009
Location: Destin Florida
Posts: 905
Dorky will become famous soon enough

if this is set to hidden it will show on IE as a small square, not good for sound effects lmao. oops. but for standard use it will do well. and when someone tells you something is phasing out, go check http://www.w3.org/ before you base anything on it. and both embed and object use the software on the client pc, thats why you have to have it installed(ie. flash) to view it. so no you dont need anything but the file.

<embed height="20" SRC="yourfile.ext" VOLUME="50" loop="false" controls="console" autostart="false" width="128"></embed>


for flash i believe this is best.

<object type="application/x-shockwave-flash" width="400" height="170"
data="xspf_player.swf?playlist_url=test.xspf">
<param name="movie" value="xspf_player.swf?playlist_url=test.xspf" />
</object>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 11 '09, 10:31 AM (#14)
Hitch - CP is offline
WDF Member
 
Hitch - CP's Avatar
 
Join Date: June 2009
Location: London
Posts: 84
Hitch - CP is on a distinguished road
If in doubt a good WYSIWYG program like Dreamweaver will be able to do this for you; it is quick and easy to insert a flash file or other similar via the Insert > Media tabs I think it is.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

  Web Design Forums » Programming Help » HTML and CSS Help

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Check this out - Videos on how to protect your website against hackers Arne1983 PHP 3 June 2 '09 11:20 AM
Help with Embedding an FLV Movie into a php webpage Mystique1981 HTML and CSS Help 6 January 14 '08 02:04 PM
embedding videos with frontpage? stumped General Web Design Discussion 2 August 13 '07 12:47 PM
best way to show videos Karloff HTML and CSS Help 2 September 2 '06 12:54 PM
How do I alter a script to lplay videos back-to-back duck444 General Web Design Discussion 0 March 17 '06 10:26 AM

 
User Infomation
Your Avatar

Site Of The Month

Ticket Cake
Ticket Cake

Ticket Cake is a drupal based event ticketing platform. It features that ability to browse events and share them.

Nominate Your Site Now!

Advertisement
WolfCMS.org

Latest Articles
- by RickM
- by bfsog

Advertisement

Partner Links



All times are GMT -4. The time now is 02:32 AM.


WebDesignForums.net is Copyright © 2010 RikeMedia.

SEO by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163