ZenphotoCMS Forum
Insert video in Zenpage - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html)
+--- Thread: Insert video in Zenpage (/thread-8355.html)



Insert video in Zenpage - fretzl - 10-03-2011

Hi guys,

I'd like to directly insert a video into a Zenpage page using tinyZenpage.
Right now it only seems possible to insert the link that points to album.php
Any ideas?
Thanks




Insert video in Zenpage - acrylian - 10-03-2011

Sorry, currently no easy way. It's on my list but when I briefly tried to get Flowplayer working with the embeed code as suggested on its website I sadly failed so far (in and outside tinyZenpage). Will try to give it a shot sometime later.

TinyMCE has also its own flash/video plugin called media that comes with its own flash video player. It is enabled in the included full config files. Never used it but it might be possible to use that instead (with some object embeed code).




Insert video in Zenpage - fretzl - 10-03-2011

Thanks @crylian.

Sadly the TinyMCE media plugin doesn't work.
Maybe I'll test the latest version of the media plugin.
Seems there have been some major improvements.




Insert video in Zenpage - acrylian - 10-03-2011

I thought we have the latest TinyMCE stuff. Anyway, tinyZenpage should some time be able to embeed videos.

Note that you might need to allow the embeed html tags on the options so they are not cleared.




Insert video in Zenpage - fretzl - 10-03-2011

Quote:I thought we have the latest TinyMCE stuff
Probably, I'll check later today.

Quote:that you might need to allow the embeed html tags
Yes I did, both on the options page and in the TinyMCE config.




Insert video in Zenpage - acrylian - 17-03-2011

The development svn/nightly now has the ability to embeed video/audio using Flowplayer and `` It needed the update to TinyMCE 3.4 to get that working.

See the updated instructions in tinyZenpage itself for info. Not complete yet later the player should inherit the general options from its own plugin. But I would appreciate some testing nevetheless.




Insert video in Zenpage - fretzl - 17-03-2011

That's great. I'll do some testing with tonight's nightly.
So that will be tomorrow or this weekend.

Just one thing. I notice you use the words [i]embeed[/i] and [i]ambeeding[/i]. Shouldn't that be [i]embed[/i] and [i]embedding[/i] ? ;-)




Insert video in Zenpage - acrylian - 17-03-2011

Quote:Shouldn't that be embed and embedding ? ;-)
Yes, it should...;-)




Insert video in Zenpage - fretzl - 18-03-2011

Just tested it. So far it's working good. Nice !

Only one observation:
If the flowplayer3 plugin is not enabled you can only insert video thumbnails (like you explained) but the thumbnail then links to the video in album.php where it does not display because...well...the flowplayer3 plugin is not enabled :-)




Insert video in Zenpage - acrylian - 18-03-2011

Thanks for testing. I did some further additions today.

Regarding the observation: I really think that is logical that you need a video plugin to play them at all...:-) The point is actually that you theoretically could use another video player plugin like the older flvplayer (if that still works) or the newer zenjplayer 3rd party one. Those would play on the page itself but would not be possible to be embedded using tinyZenpage (since it is not easily possible to pass js var values to PHP code I couldn't make a general embed code solution for all possibilities).

Btw, I did not test but I think the new tinymce plugin with these changes should generally work in 1.4.0.3 as well.




Insert video in Zenpage - fretzl - 18-03-2011

Ah, thanks for the explanation.
Your latest additions work fine too. All the flowpayer3 options are inherited.
As for the TinyMCE media plugin...It works...sort of...but I really do prefer tinyZenpage :-)




Insert video in Zenpage - acrylian - 18-03-2011

Quote: As for the TinyMCE media plugin...It works...sort of...but I really do prefer tinyZenpage :-)
Of course...:-) Just to be sure: I was referring to the updated tinymce plugin with the tinyzenpage additions itself in the dev svn/nightly. I see no reason that it should not work with the current release. Although I did not test it. Just in case you need it right now..;-)




Insert video in Zenpage - fretzl - 18-03-2011

Quote:I was referring to the updated tinymce...
Ah yes, no problems, also working fine :-)