Forums / Install & configuration / Need Video/Flash player class

Need Video/Flash player class

Author Message

Jeroen Sangers

Tuesday 08 February 2011 8:41:46 am

I want to upload and show a video on my site. I have tried to use the QuickTime class, but that will first download the whole video before starting to play /the video is 45 minutes long). I believe the best option is to convert the video to a FLV file and use the "Video/Flash player" instead.

However, on my installation (webin) this class is not present. Is it only installed with eZ Flow or is it part of eZ Components? How can I add this class to my installation?

H-Works Agency

Tuesday 08 February 2011 9:28:49 am

Hello,

Video buffer has nothing to see with video format. I guess you can adjust video buffer to a few seconds with any format.

But its true its easy to adjust - maybe more documented too - on a flash media player.

Here is how to create your class and make it work on public website if you wanna go in flash way :

1/ Go to admin -> classes -> media -> new class

2/ Add your attributes (name (text-field), description (text-block), file (file))

3/ Create template for your custom classes and make the class/template match in override.ini

4/ Adjust your template to get what you want

Cheers

EZP is Great

Robin Muilwijk

Tuesday 08 February 2011 1:23:00 pm

Hi Jeroen,

What you could also try, when you have an eZ Flow instance installed, is to login to it's back end, go to Setup > Packages. Create a new export, select content class, then select the Video/Flash player class. It will create an .ezpgk.

Now go to your eZ Webin install, again login to the back end and go to Setup > Packages, this time use the import and install that newly created package.

I just performed a quick test, and the class was installed without errors between an eZ Flow 4.4 and eZ Publish - Webin 4.4. Not actually created an object, just wanted to let you know this method is available also.

Regards Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Jeroen Sangers

Tuesday 08 February 2011 10:41:39 pm

I know that I can manually create the class, but what I am more interested in is the design. I assume the class comes with a Flash video player to display the FLV file.

I hoped that this class with all corresponding files would be available as a package, but it looks like I have to make a new eZ Flow installation and copy the files over.

eZ debug

Timing: Jan 18 2025 00:06:29
Script start
Timing: Jan 18 2025 00:06:29
Module start 'content'
Timing: Jan 18 2025 00:06:29
Module end 'content'
Timing: Jan 18 2025 00:06:29
Script end

Main resources:

Total runtime0.1642 sec
Peak memory usage4,096.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 588.9609180.8359
Module start 'content' 0.00690.0050 769.796997.8359
Module end 'content' 0.01190.1523 867.6328526.0391
Script end 0.1641  1,393.6719 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00332.0274200.0002
Check MTime0.00130.7778200.0001
Mysql Total
Database connection0.00090.563910.0009
Mysqli_queries0.118372.01661410.0008
Looping result0.00130.79401390.0000
Template Total0.152092.610.1520
Template load0.00070.403810.0007
Template processing0.151392.152810.1513
Override
Cache load0.00040.269210.0004
Sytem overhead
Fetch class attribute can translate value0.00080.510910.0008
XML
Image XML parsing0.00020.128510.0002
General
dbfile0.00281.6848200.0001
String conversion0.00000.004430.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