Re: help.how to use mplayerplug to play flv video without type set in the embed tags.

Kevin DeKorte <[email protected]>
Newsgroups gmane.comp.mozilla.mplayerplug-in
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Youhong Han wrote:

> 
> but if i visit a site with embed tags like this:"
> 
> <embed width=
> "320" height="260" bgcolor="#FFFFFF" 
> 
> flashvars="file=/local/local_edu/media/ff808081132e67e001134275cbc72cff.flv&amp;repeat=false&amp;autostart=true" 
> fckeditor_type
> ="media" 
> allowfullscreen="true" 
> src=
> "../../mediaplayer.swf"></embed>
> 
> "

Ok,

It looks like you need to set a mimetype in the embed tag for one. That
will tell mplayerplug-in to be activated. Use one of the mimetypes found
in plugin-setup.cpp

the argument 'flashvars' is currently not handled by mplayerplug-in. You
need to parse that var, use "&amp;" as your argument separator and then
put the right settings in the right variables. Again look to
plugin-setup.cpp for clues as to what to do. Look for the code than
handles the 'filename' argument (around line 610) and see if that is useful.

do you have a site that I can view that shows these examples?

Kevin

- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Remi - http://enigmail.mozdev.org

iD8DBQFGkpRP6w2kMH0L1dERAq2GAJ4yiDjxe0DRAm8sYJ+8PlaQT+Gs2ACgiBXX
UL+jWo9jxCA16NMeJzDTJ/g=
=rNFp
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.