Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#61 2006-09-24 21:18:08

ragger
Member
From: Netherlands
Registered: 2005-04-10
Posts: 82
Website

Re: [plugin] [ORPHAN] bas_flvplayer - Streaming Video

Beautiful plug-in, a shame it isn’t working in Opera though if XHTML-compliant.

I’ve made bas_flvplayer spit out the code suggested here, but still no luck. Seems interesting enough. Maybe anyone else will give it a try?

By the way, is there one Opera-user who can see Flash-movies, for example the one on Bastian’s page?

Offline

#62 2006-09-25 03:21:21

cbeyls
Archived Plugin Author
From: Brussels, Belgium
Registered: 2005-09-12
Posts: 136
Website

Re: [plugin] [ORPHAN] bas_flvplayer - Streaming Video

Hi everybody

As I pointed out recently for another TXP flash plugin, you can produce valid XHTML by using this markup. You don’t need the satay method. The satay method is a workaround to make big SWF files with lots of embedded content stream in internet explorer by using the valid markup, otherwise when you use this markup in IE, the animation only shows after the full loading of the SWF file. Here the SWF file is only the tiny player and the content is in an external file (the flv file), so in IE, once the player is fully loaded (pretty quickly) it will show and start streaming the external SWF file without any problem. And other browsers are not concerned by this SWF streaming problem.

So, for video streaming using an external file, you can embed flash with a valid XHTML markup without any problem. For other cases where you need to stream big SWF files, I suggest you use SWF Object to preserve a valid markup while maximizing compatibility.


My plugins : cbs_live_search (improved) – cbs_category_list – cbs_navigation_menu – cbs_gravatar (updated) – cbs_article_index – cbs_maintenance_mode (new) – cbs_section_language (new)

Offline

#63 2006-09-25 03:29:22

cbeyls
Archived Plugin Author
From: Brussels, Belgium
Registered: 2005-09-12
Posts: 136
Website

Re: [plugin] [ORPHAN] bas_flvplayer - Streaming Video

ragger wrote:

Beautiful plug-in, a shame it isn’t working in Opera though if XHTML-compliant.
I’ve made bas_flvplayer spit out the code suggested here, but still no luck. Seems interesting enough. Maybe anyone else will give it a try?
By the way, is there one Opera-user who can see Flash-movies, for example the one on Bastian’s page?

A possible reason of why it does not work in some browsers is that the parameters passed to the flash player are currently passed directly in the URL of the movie instead of the “flashvars” parameter. Furthermore, the “movie” parameter is missing. You can see an illustration of these parameters in the article mentioned in my previous post.

Edit: I’ve tried to add these parameters with no luck in Opera. I still don’t know why I doesn’t work in this browser, but if I find out, I’ll inform you.

Last edited by cbeyls (2006-09-25 13:14:05)


My plugins : cbs_live_search (improved) – cbs_category_list – cbs_navigation_menu – cbs_gravatar (updated) – cbs_article_index – cbs_maintenance_mode (new) – cbs_section_language (new)

Offline

#64 2006-09-25 03:32:45

cbeyls
Archived Plugin Author
From: Brussels, Belgium
Registered: 2005-09-12
Posts: 136
Website

Re: [plugin] [ORPHAN] bas_flvplayer - Streaming Video

Bastian, your website does not show at all in Safari… I just get a white page. It works with Camino, though.


My plugins : cbs_live_search (improved) – cbs_category_list – cbs_navigation_menu – cbs_gravatar (updated) – cbs_article_index – cbs_maintenance_mode (new) – cbs_section_language (new)

Offline

#65 2006-09-25 09:18:17

ragger
Member
From: Netherlands
Registered: 2005-04-10
Posts: 82
Website

Re: [plugin] [ORPHAN] bas_flvplayer - Streaming Video

cbeyls wrote:

A possible reason of why it does not work in some browsers is that the parameters passed to the flash player are currently passed directly in the URL of the movie instead of the “flashvars” parameter. Furthermore, the “movie” parameter is missing. You can see an illustration of these parameters in the article mentioned in my previous post.

You mean adding something like <param name="flashVars" value="?"> might help? I’m not sure what value that would be.

It’s getting too complicated for me.

Offline

#66 2006-09-25 09:24:32

ragger
Member
From: Netherlands
Registered: 2005-04-10
Posts: 82
Website

Re: [plugin] [ORPHAN] bas_flvplayer - Streaming Video

Testing my site on Browsershots.org confirms Opera’s behaviour. It also shows that Konqueror fails to show the movie.

Offline

#67 2006-09-25 15:18:18

ragger
Member
From: Netherlands
Registered: 2005-04-10
Posts: 82
Website

Re: [plugin] [ORPHAN] bas_flvplayer - Streaming Video

cbeyls wrote:

Edit: I’ve tried to add these parameters with no luck in Opera. I still don’t know why I doesn’t work in this browser, but if I find out, I’ll inform you.

I was wondering maybe it’s the swf-player. Or maybe even the way the flv is encoded (I use the Riva-encoder, and so does Bastian).

Offline

#68 2006-09-25 15:26:08

raveoli
Member
From: Copenhagen
Registered: 2004-03-06
Posts: 205
Website

Re: [plugin] [ORPHAN] bas_flvplayer - Streaming Video

My videos are encoded with Flash, using the ON2VP6 (or something like that) codec – and my videos don’t play in Opera. So it’s probably not Riva-related.

http://www.olivernielsen.com/portfolio/mtv-art-breaker-cuckoo

Last edited by raveoli (2006-09-25 15:26:40)

Offline

#69 2006-09-25 16:04:07

ragger
Member
From: Netherlands
Registered: 2005-04-10
Posts: 82
Website

Re: [plugin] [ORPHAN] bas_flvplayer - Streaming Video

Yes! I found it! Cbeyls’s suggestion that it had something to do with the parameters passed to the flash player directly in the URL of the movie was correct. It apparently was too complex to handle for Opera.

I made it less complex by defining the player explicitly in the ‘player’ attribute: player="files/flvplayer.swf".

The result:
<param name="movie" value="http://sibren.org/files/flvplayer.swf?file=http://sibren.org/file_download/2&amp;autoStart=false" />
in stead of:
<param name="movie" value="http://sibren.org/file_download/1?file=http://sibren.org/file_download/2&amp;autoStart=false" />.

That did the trick! Finally XHTML-compliant code AND working in Opera.

Offline

#70 2006-09-25 17:26:43

raveoli
Member
From: Copenhagen
Registered: 2004-03-06
Posts: 205
Website

Re: [plugin] [ORPHAN] bas_flvplayer - Streaming Video

Yes! I can indeed confirm it works! Great work Sibren! Long standing bug, fixed so simply. Nice;-)

Offline

#71 2006-09-25 18:49:06

ragger
Member
From: Netherlands
Registered: 2005-04-10
Posts: 82
Website

Re: [plugin] [ORPHAN] bas_flvplayer - Streaming Video

holli.p wrote:

thanx that works (but not in iE).
Now I have a start image but no controls…

Yes, you have controls. They’re behind the image. Just define the height of the movie 20px higher than it really is.

Offline

#72 2006-09-25 21:44:41

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [plugin] [ORPHAN] bas_flvplayer - Streaming Video

Thank you ragger!!! :)

Offline

Board footer

Powered by FluxBB