Share » Forums » Install & configuration » I can't see my .flv video on my site

I can't see my .flv video on my site

I can't see my .flv video on my site

Friday 06 November 2009 11:18:09 pm - 7 replies

Modified on Tuesday 10 November 2009 1:44:39 pm by Maxim Kopytov

Author Message

Yannick Komotir

Tuesday 10 November 2009 8:26:54 am

Hello !

Try to type your swf url directly on your browser and look at if you can see it.

<|- Software Engineer @ eZ Publish developpers -|>
@ http://twitter.com/yannixk

Maxim Kopytov

Tuesday 10 November 2009 1:41:16 pm

Hello !

Try to type your swf url directly on your browser and look at if you can see it.

You are very clever, but Your answer is useless...
I have tried it!
This direct link shown me video clip.

http://nc.local/var/plain_site/storage/original/video/06c1ba70708b4a81e1a88dcd5ad40350.flv

But I need in flash video player + flv clip
And this link

http://nc.local/design/plain_site/flash/flash_player.swf

shown me flash video player.
But I need in flash video player with uploaded clip from storage.
FireBug report me:

 insertMedia is not defined 

<a href="http://nc.local/ncom/Novosti/Video-rolik" title="http://nc.local/ncom/Novosti/Video-rolik">http://nc.local/ncom/Novosti/Video-rolik</a>    Line 298

*insertMedia( '<object type="application/x-shockwave-flash"
data="/design/plain_site/flash/flash_player.swf" width="448"
height="354"> ');

Where is my bug? Help me please.

______________
I love eZ Publish

Bertrand Dunogier

Tuesday 10 November 2009 4:09:07 pm

Maxim,

calling Yannick's answer's "useless" is a bit rude. He was trying to help you determine where the error is, and checking first if the flash item can be accessed is a good first step.

insertMedia is a JS function right ? Is it defined ?

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

Maxim Kopytov

Tuesday 10 November 2009 9:39:43 pm

Maxim,
calling Yannick's answer's "useless" is a bit rude. He was trying to help you determine where the error is, and checking first if the flash item can be accessed is a good first step.

Hallo, Bertrand!
Hallo, Yannick!
Yannick, I'm sorry for my rudeness!
But I'm think that You answer for me with a jeer.
I'm take back my words.
What do You think about my problem with eZFlow and flash player?
I'm novice in eZ Publish.

______________
I love eZ Publish

Sylvain Gogel

Wednesday 11 November 2009 2:48:59 am

you are missing a .js file

check in ezflow/ if you have insertmedia.js and if it is declared in ezflow/settings/design.ini.append.php

--
http://www.ecedi.fr
Agence Web, Créa/Conseils, Accessibilité
eZPublish, Drupal, Zend, Symfony

Maxim Kopytov

Friday 13 November 2009 11:11:46 am

Hallo guys!
Thank you very much for your regard!

And I'm very sorry for my English and rudeness!

Realy it was a problem with insertMedia function as Bertrand said.

I had no insertmedia.js file and match setting in design.ini.append.php as Sylvain said.

I have copied insertmedia.js into \www\design\plain_site\javascript\
and have inserted this block

[JavaScriptSettings]
JavaScriptList[]=insertmedia.js

into \www\settings\siteaccess\<site>\design.ini.append.php

After that I have seen video player with my .flv clip!
It's great!

Yannick, Bertrand and Sylvain, thank you very much!

______________
I love eZ Publish

Bertrand Dunogier

Saturday 14 November 2009 2:04:33 am

No offense taken, and don't worry about your english :-)

Glad your issue was fixed.

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu