eZ Community » Forums » Developer » "Video Not Loaded" with ezMedia...
expandshrink

"Video Not Loaded" with ezMedia attribute and Flash video

"Video Not Loaded" with ezMedia attribute and Flash video

Friday 09 October 2009 11:52:52 am - 1 reply

Hi,

I have a site built with ez 4.1.3 (with ezFlow) and I am trying to add Flash video to one of my class.

I used the ezMedia attribute, but whenever I try to enter an object in which I have uploaded a flash video, the flash player does not display the video (just a white box), and a right click on it displays : "Video not loaded"

I can access the video file by using the url of the file as it is in the source code of the page.

I tried another test with a Flash object (ezwebin), and I get the same result.

I tried one more test with a "Video Flash Player" object (ezflow) and here it is working.

Any idea what may be wrong ?

Thanks,
Hakim

Friday 09 October 2009 7:27:54 pm

Is the src URL like "/content/download/xxx"? I had the same problem. Some browsers don't show the file because "content/download" sends specific headers that force the browser to download the file instead of opening it. You should replace this in the templates (probably override/templates/embed/flash.tpl"blunk.gif Emoticon:

{concat("content/download/",$attribute.contentobject_id,"/",$attribute.content.contentobject_attribute_id,"/",$attribute.content.original_filename)|ezurl}

With something like this

{$attribute.content.filepath|ezroot}
expandshrink

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

36 542 Users on board!

Forums menu