Friday 06 November 2009 11:18:09 pm
Hallo!
I use eZ Publish 4.2.0 with "plain site" package on Windows XP, Apache, MySQL.
I want to make video gallery.
I have installed eZFlow package without content classes on my "plain site", because i need "Video/Flash Player" content class only.
I have exported "Video/Flash Player" content class from other full eZ Flow site, and then i have imported "Video/Flash Player" package into my "plain site".
Then i have copied flash_player.swf into \design\plain_site\flash\ and flash_player.tpl into \design\plain_site\override\templates\full\ from other full eZ Flow site. I have added this block
[full_flash_player]
Source=node/view/full.tpl
MatchFile=full/flash_player.tpl
Subdir=templates
Match[class_identifier]=flash_player into \settings\siteaccess\ncom\override.ini.append.php
Now I'm trying to watch my .flv video, but I can't see as the clip and the flash video player. Where is my bug and how can i add flash video player on my site? This is source code from loaded page: <script type="text/javascript">
<!--
insertMedia(
'<object type="application/x-shockwave-flash"
data="/design/plain_site/flash/flash_player.swf" width="448"
height="354"> ');
insertMedia( '<param name="movie" value="/design/plain_site/flash/flash_player.swf" /> ');
insertMedia( '<param name="scale" value="exactfit" /> ');
insertMedia( '<param name="allowScriptAccess" value="sameDomain" />');
insertMedia( '<param name="allowFullScreen" value="true" />');
insertMedia( '<param name="flashvars" value="moviepath=/index.php/ncom/content/download/73/268&embedurl=<a href="http://nc.local/flash/embed/73&embedlink=http://nc.local/index.php/ncom/Novosti/Video-rolik%22" title="http://nc.local/flash/embed/73&embedlink=http://nc.local/index.php/ncom/Novosti/Video-rolik"">http://nc.local/flash/embed/73&am...x.php/ncom/Novosti/Video-rolik"</a> />');
insertMedia( '<p>No <a href="<a href="http://www.macromedia.com/go/getflashplayer%22%3EFlash" title="http://www.macromedia.com/go/getflashplayer">Flash">http://www.macromedia.com/go/getflashplayer">Flash</a> player<\/a> avaliable!<\/p>');
insertMedia( '<\/object>' );
//-->
</script>
<noscript>
<object
type="application/x-shockwave-flash"
data="/design/plain_site/flash/flash_player.swf" width="448"
height="354">
<param name="movie" value="/design/plain_site/flash/flash_player.swf" />
<param name="scale" value="exactfit" />
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="true" />
<param name="flashvars" value="moviepath=/index.php/ncom/content/download/73/268&embedurl=<a href="http://nc.local/flash/embed/73&embedlink=http://nc.local/index.php/ncom/Novosti/Video-rolik%22" title="http://nc.local/flash/embed/73&embedlink=http://nc.local/index.php/ncom/Novosti/Video-rolik"">http://nc.local/flash/embed/73&am...x.php/ncom/Novosti/Video-rolik"</a> />
<p>No <a href="<a href="http://www.macromedia.com/go/getflashplayer%22%3EFlash" title="http://www.macromedia.com/go/getflashplayer">Flash">http://www.macromedia.com/go/getflashplayer">Flash</a> player</a> avaliable!</p>
</object>
______________
I love eZ Publish
|