Forums / Developer / "Video Not Loaded" with ezMedia attribute and Flash video

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

"Video Not Loaded" with ezMedia attribute and Flash video

Author Message

Hakim Bouras

Friday 09 October 2009 2:52:52 am

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

Gabriel Finkelstein

Friday 09 October 2009 10:27:54 am

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"):

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

With something like this

{$attribute.content.filepath|ezroot}