Click to See Complete Forum and Search --> : HELP : EMBED Quicktime INLINE Play using <Object><Embed>


Aerosyn-Lex
03-02-2006, 05:50 PM
MY REGARDS TO ALL HERE .

. . . . . . . . . . . . .

I'm here to ask for your help in answering a few questions regarding
EMBEDDED Multimedia / Quicktime files used for INLINE Play.

I've Read up extensively on this and have learned that I could use either
<embed> or <object> tag methods to make this all work. I am a MAC+PC user
and <embed> works decently overall . but my PC browsers (netscape + firefox)
refuse to recognize the LOOP="TRUE" param i have in the code.

PLEASE REVIEW THE INFO PROVIDED : MY QUESTION IS HOW CAN I GET
A .MOV FILE TO PLAY INLINE _ LOOP _ WITH HIDDEN CONTROLLER _
ACROSS ALL PLATFORMS ? ? ? ? ? ? ? ? ? ? ?

This is an example of the <EMBED> code which I first used :

<embed src="http://www.nontype.com/01/wars_type.mov"
width="507" height="380" autoplay="true"
controller="false" href="http://aerolex.com"
target="_blank" loop="true" /></embed>

and here is a link to the page which implements that code,
it works as intended in every way except for not LOOPING in PC BROWSERS :

http://www.nontype.com/archives/2006/02/hypertext.html

_____________________________________________


so in order to try and get it to LOOP in PC FIREFOX + NETSCAPE I turned
to using the <OBJECT> method which is supposedly what is supported
by the W3 web-standards.

For this method I followed these 2 Tutorials :

http://www.w3schools.com/media/media_quicktime.asp

http://cit.ucsf.edu/embedmedia/step1.php

__________________________________

With that approach I am able to get the videos to PLAY but they do not LOOP in
MAC SAFARI + FIREFOX and firefox also ends up displaying the last few lines of
code as viewable screen text ? ? ?

/ / / AND EVEN WORSE . It Crashes Both PC FIREFOX and NETSCAPE 7.2. . . .

here is that code :

<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
width="507" height="111" codebase = "http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0">
<param name="controller" value="FALSE">
<param name="type" value="video/quicktime">
<param name="autoplay" value="true">
<param name="loop" value="TRUE">
<param name="src" value="http://www.nontype.com/01/type_II_lo.mov">
<param name="pluginspage" value="http://www.apple.com/quicktime/download/indext.html">
<embed width="507" height="111" controller="FALSE" target="myself" src="http://www.nontype.com/01/type_II_lo.mov"
loop="TRUE" type="video/quicktime" pluginspage = "http://www.apple.com/quicktime/download/indext.html">
</embed></object>

_______________________

and here is a link to the page with that code :

http://www.nontype.com/archives/2005/10/death_shall_hav.html

________________________

COULD SOMONE PLEASE PLEASE look over this mess and give me some precise
advice as to what I can do to make this work ? ? ?

Would anyone suggest that I forego the MOV filetype for a SWF or FLV file and
embed that / if so how would I do that ? ? ?


_______________________


THANK YOU FOR YOUR HELP AND PATIENCE IN ADVANCE

.


Bless

johneva
03-03-2006, 03:26 AM
Firstly you should not use the embed tag if you want your coding to be standards compliant.

This link shows a standards compliant way to embed movies. Linky link (http://realdev1.realise.com/rossa/rendertest/quicktime.html)

As for the Loop problem try this.

Play count works in Firefox aswell though.

<param name="PlayCount" value="*" />


You need to keep Loop for IE though so use both params.

Works good for me.

Aerosyn-Lex
03-03-2006, 04:20 AM
THANKS FOR THE REPLY JOHN . . .

I've looked over the tutorial LINK you sent but I am getting lost
on the idea of nesting the object.

I've copied the code displayed on that site and modified it for my files:

<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="507" height="111">
<param name="src" value="http://www.nontype.com/01/type_II_lo.mov" />
<param name="controller" value="true" />
<param name="autoplay" value="true" />
<param name="loop" value="true" />
<param name="PlayCount" value="*" />
<object type="video/quicktime" data="http://www.nontype.com/01/type_II_lo.mov" width="507" height="111" class="mov">
<param name="controller" value="false" />
Error text.
</object>
</object>

________________________

I needed to add the CONTROLLER=FALSE + AUTOPLAY=TRUE
as well as adding in the PLAYCOUNT tag you advised me on.

. . . .

UNFORTUNATELY IT IS NOT FULLY FUNCTIONAL :

PROBLEMS___

1. Now Not hiding the controller in SAFARI

2. In Firefox it is successfully hiding the controller . but not looping .
even with the PLAYCOUNT PARAM implemented.

________________________________________

I was hoping this would be a straightforward solution but
even though the <EMBED> TAG is by no means W3C compliant
it's working the best thus far. the only problem the EMBED tag
gives me is that it doesn't loop in PC browser . everywhere else
it performs fine.

. . . . . . . .


CAN YOU LEND ANY MORE ADVICE to this dilema;
i really appreciate your time and help on this.

Thanks again in advance to all .

PS _ the following link is a test page that has all 3 methods i've been experimenting with on it.

1. <EMBED> tags _ Large Black Typographic movie

2. <OBJECT> tag first revision

3. <OBJECT> tag as revised after this last post

http://www.nontype.com/archives/2005/10/death_shall_hav.html

johneva
03-03-2006, 04:31 AM
Did the PlayCount param work for you with the way you were coding it before?

Well I dont do it the way the tutorial says anyways I do it like this.


<!--[if !IE]> <-->
<object id='mediaPlayer' data="Video/yourvidname.wmv" standby='Loading Microsoft Windows Media Player components...' type='type="video/x-ms-wmv"'>
<param name='fileName' value="http://www.yourdomain.com/Video/yourvidname.wmv" />
<param name='animationatStart' value='true' />
<param name='transparentatStart' value='true' />
<param name='autoStart' value="true" />
<param name='showControls' value="true" />
<param name="loop" value="true" />
<param name="PlayCount" value="*" />
</object>
<!--> <![endif]-->
<!--[if IE]>
<object id='mediaPlayer' data="Video/yourvidname.wmv" 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="http://www.yourdomain.com/Video/yourvidname.wmv" />
<param name='animationatStart' value='true' />
<param name='transparentatStart' value='true' />
<param name='autoStart' value="true" />
<param name='showControls' value="true" />
<param name="loop" value="true" />
<param name="PlayCount" value="*" />
</object>
<![endif]-->


As you can see this code is used with WMV files though not Quicktime but if you change the type value, class id value and codebase value it should still work.

I hope it does work for ya anyways.

Aerosyn-Lex
03-03-2006, 04:56 AM
THANKS for the prompt reply JOHNEVA . .

I don't want to sound too dependent here but I'd like to ask
for a bit more help;
I'm having trouble understanding exactly how I would need
to change the code which you just kindly posted . . .

As you can see this code is used with WMV files though not Quicktime but if you change the type value, class id value and codebase value

SO I NEED TO CHANGE the TYPE VALUE :

Could you give me an example of what it would look like;
I'm a bit too unfamiliar with this to know what it would change to ?

Class ID needs to change _ Could I simply copy in the class ID from the
code which i initially posted _ or how can I find the proper class ID ? ? ?

What is the CODEBASE VALUE _ AND TO WHAT SHOULD IT BE CHANGED ?

----------------------------------

Also i see a STANDBY TAG . can that be removed ?

-----------

Again I dearly apologize for the follow up questions . I'm a bit out of
my league here and I would just like to get this set up right;
If you have a moment please let me know how I can
change the code you posted so that it would fit my
intended use . . .


THANKS AGAIN _ CHEERS

johneva
03-03-2006, 05:16 AM
I am quite new to web design myself but I will try and explain as best I can.

classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"

This is telling you browser what plugin to use.


codebase="http://www.apple.com/qtactivex/qtplugin.cab"

This is the address of where to get the plugin(Active x) if the visitor does not have the correct plugin installed.


type="video/quicktime"

This is telling your browser what type of object is being inserted to the page.


As for the standby value this is just a message that displays while you wait for it to load year you can remove it.

All the values I have used for examples I have just got from your code in your second post so I am not sure that these are the correct values.

You could run a search on Google to get the correct values if they do not work.