Forums / General / MEDIA CLASS with sound, but without picture!

MEDIA CLASS with sound, but without picture!

Author Message

cfa cfa

Friday 06 June 2003 4:20:46 am

i created a MEDIA class by copying the IMAGE class and changing everything that was IMAGE to MEDIA, and of course by changing the DATATYPE to MEDIA.

now i have only sound when playing FLASH movies, but there is no picture.
later on i the created this MEDIA class from scratch.. again similar to the IMAGE class, i am still running into the same problem (there is sound, put there is no picture).

has anybody successfully created a MEDIA class? the MEDIA view and edit templates are coming with the standard install,..

i am thankful for any leads!!!

Paul Borgermans

Saturday 07 June 2003 5:18:29 am

Are you sure you gave a reasonable size to your flash object?

I had a similar issue with a quicktime movie. The assumption that the object appears in its "native" size was wrong.

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

cfa cfa

Saturday 07 June 2003 1:24:01 pm

yes, i gave 10 MB for a 800 kb flash movie.

Paul Borgermans

Sunday 08 June 2003 2:03:15 am

Didn't mean filesize, sorry,
but the width and heigth of our object.

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

cfa cfa

Tuesday 10 June 2003 3:17:28 pm

hmmm, i don't have width and height arguments in my MEDIA CLASS... maybe that's the reason it doesn't show properly.

Paul Borgermans

Wednesday 11 June 2003 4:56:54 am

Width and height are nor specified in the class, but when you create an object with this new class.

Checked with 3.0-2 and 3.1beta2

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

cfa cfa

Thursday 12 June 2003 9:07:17 am

same here with me. i am currently using BETA1 of publish 3. well, i managed to playback a FLASH movie successfully. but had to enter some values for width and height during video upload (send for publishing) of the flash movie.

something strange happend: the "Media" field (into wich i can't input anything) takes on the "width" field value. in case of a 320x200 movie the "media" field automatically gets value "320".

maybe that's the reason why the playback of WMV video files doesn't work here with me, because the "Media" field has some wrong value and EZ3 takes the file as a flash movie (the default setting, i guess). the MIME type is detected successfully and corretly, though.

regards,
CFA

eZ debug

Timing: Jan 29 2025 14:40:55
Script start
Timing: Jan 29 2025 14:40:55
Module start 'content'
Timing: Jan 29 2025 14:40:55
Module end 'content'
Timing: Jan 29 2025 14:40:56
Script end

Main resources:

Total runtime0.2805 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0071 588.0547180.8203
Module start 'content' 0.00710.0069 768.875097.8984
Module end 'content' 0.01400.2664 866.7734526.6250
Script end 0.2804  1,393.3984 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00351.2593200.0002
Check MTime0.00130.4791200.0001
Mysql Total
Database connection0.00080.286310.0008
Mysqli_queries0.232182.75751410.0016
Looping result0.00140.48271390.0000
Template Total0.266094.810.2660
Template load0.00100.346910.0010
Template processing0.265094.490510.2650
Override
Cache load0.00070.239610.0007
Sytem overhead
Fetch class attribute can translate value0.00120.413210.0012
XML
Image XML parsing0.00020.071210.0002
General
dbfile0.00642.2797200.0003
String conversion0.00000.002930.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs