New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

Embedding Movies in HTML


Post Reply New Thread Subscribe

 
Thread Tools
RobDreugan
Guest
 
Posts: n/a

I've found the code to embed a .WMV, in HTML, which I suppose could apply for .ram, or .mov, which I'm not even 100% sure about.

I was just hoping someone could go over the code and explain what options you have available when doing this. Or at least point me in the right direction.

Thanks
QUOTE Thanks
Emrys

 
Emrys's Avatar
 
Member Since: Oct 27, 2002
Location: Vermont
Posts: 1,345
Emrys is on a distinguished road
Mac Specs: 17" iMac G4 800MHz 1GB RAM

Emrys is offline
Whats the code you have?

Emrys
Community Administrator / Moderator
MAC-FORUMS.COM - The Ultimate Source For Your Mac!
QUOTE Thanks
RobDreugan
Guest
 
Posts: n/a

<object id='mediaPlayer' width="320" height="266"
classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'
codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701'
standby='Loading Microsoft Windows Media Player components...' type='application/x-oleobject'>
<param name='fileName' value="test.wmv">
<param name='animationatStart' value='true'>
<param name='transparentatStart' value='true'>
<param name='autoStart' value="true">
<param name='showControls' value="false">
<param name="ShowStatusBar" value="true">
<param name='loop' value="0">
<embed type='application/x-mplayer2'
pluginspage='http://microsoft.com/windows/mediaplayer/en/download/'
src="test.wmv"
width="320"
height="266"
autostart="1"
displaysize='4'
autosize='0'
bgcolor='darkblue'
showcontrols="0"
showtracker='0'
showstatusbar='1'
showdisplay='0'
videoborder3d='0'
designtimesp='5311'
loop="0"
>
</embed>
</object>

Only reason I didn't want to show the code was that if someone knew how to do it from scratch, and explain it well, they wouldn't be influenced by whatever code i had here.

Couple of things that are odd to me, is that it seems when u give something an id tag, like <object id="whatever" that it's referenced somewhere else. My only experience with naming things, i.e. giving them id's, is using CSS to give a style to a certain area that you've named.

Anyway, feast upon this.
QUOTE Thanks
Emrys

 
Emrys's Avatar
 
Member Since: Oct 27, 2002
Location: Vermont
Posts: 1,345
Emrys is on a distinguished road
Mac Specs: 17" iMac G4 800MHz 1GB RAM

Emrys is offline
Hmm, looks ok to me. You'll probably want to get an answer from some of the other web designers here, as I don't get too heavy into the media.

Emrys
Community Administrator / Moderator
MAC-FORUMS.COM - The Ultimate Source For Your Mac!
QUOTE Thanks
RobDreugan
Guest
 
Posts: n/a

Oh I have no doubt the code is correct, but I just wish I had a better explanation than a self-explanation on my part on what does what. Excluding the obvious attributes, I'd just like to know what everything does, and if there are any other attribs I should know about.
QUOTE Thanks
Murlyn

 
Murlyn's Avatar
 
Member Since: Jun 11, 2003
Location: Mount Vernon, WA
Posts: 4,909
Murlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to all
Mac Specs: MacBook Pro 2.6 GHz Core 2 Duo 4GB RAM OS 10.5.2

Murlyn is offline
Which attributes are you having a hard time with?
QUOTE Thanks
RobDreugan
Guest
 
Posts: n/a

<param name='animationatStart' value='true'>

For example, given that, does that mean if i set it to false, it will only play if someone hits play>

<param name='transparentatStart' value='true'>

No idea what this is..

<param name='autoStart' value="true">
this one looks like what I assumed the first one was. I assumed the first means it plays the movie, but that's obviously not it.

autostart="1"

If you tell it to auto start, in the parameter name above, what value is this auto start doing?

displaysize='4'
Are there pre set displays? And why would you use this and specify a resolution for the movie below?

showtracker='0'

What's this?

designtimesp='5311'

And what's this?
QUOTE Thanks
trpnmonkey41

 
Member Since: Jul 22, 2003
Location: Hamilton College
Posts: 7,003
trpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to beholdtrpnmonkey41 is a splendid one to behold
Mac Specs: 20" iMac C2D 2.16ghz, 13" MacBook 2.0ghz, 60gb iPod vid, 1gb nano

trpnmonkey41 is offline
im pretty sure of a few things but i could be wrong i havent embedded movies in a while

autostart="1" im pretty sure means it will start it after 1 second. thats just a delay thing
showtracker="0" is the seek bar. i think the higher the number the bigger the seeker is

animationatstart i think is for like the windows media symbol to spin around at start or the quicktime loading thingy
QUOTE Thanks
Murlyn

 
Murlyn's Avatar
 
Member Since: Jun 11, 2003
Location: Mount Vernon, WA
Posts: 4,909
Murlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to allMurlyn is a name known to all
Mac Specs: MacBook Pro 2.6 GHz Core 2 Duo 4GB RAM OS 10.5.2

Murlyn is offline
Go to this page and you'll see to the left frame.. there is a whole bunch of variables and their values with definitions:

http://msdn.microsoft.com/library/en...ionatstart.asp
QUOTE Thanks
Graphite

 
Graphite's Avatar
 
Member Since: Feb 25, 2003
Location: Tropical Island, Jealous?
Posts: 5,279
Graphite has much to be proud ofGraphite has much to be proud ofGraphite has much to be proud ofGraphite has much to be proud ofGraphite has much to be proud ofGraphite has much to be proud ofGraphite has much to be proud ofGraphite has much to be proud ofGraphite has much to be proud of
Mac Specs: MacPro 3.0Ghz 16GB RAM, 4x256 Vid, 30''cinema display

Graphite is offline
When ever I find code that i don't know how it works in anything, HTML, perl, C++, applescript, etc... I just take out parts of the code and see how it changes things trial and error.
QUOTE Thanks

Post Reply New Thread Subscribe


« Designing HTML for safari | Newbie Mozilla Questions »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Designing HTML for safari Stanley Web Design and Hosting 11 10-25-2003 05:24 PM
html question powermacg4_450 Web Design and Hosting 2 09-09-2003 04:05 PM

All times are GMT -4. The time now is 08:02 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?