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.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 30 2025 00:52:17
Script start
Timing: Jan 30 2025 00:52:17
Module start 'layout'
Timing: Jan 30 2025 00:52:17
Module start 'content'
Timing: Jan 30 2025 00:52:18
Module end 'content'
Timing: Jan 30 2025 00:52:18
Script end

Main resources:

Total runtime1.0173 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0039 588.2500151.2266
Module start 'layout' 0.00390.0026 739.476636.6875
Module start 'content' 0.00641.0101 776.1641540.9063
Module end 'content' 1.01650.0008 1,317.070311.8359
Script end 1.0173  1,328.9063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00260.2545160.0002
Check MTime0.00110.1076160.0001
Mysql Total
Database connection0.00070.064410.0007
Mysqli_queries0.980696.3868620.0158
Looping result0.00040.0383600.0000
Template Total0.993497.620.4967
Template load0.00180.176820.0009
Template processing0.991697.466520.4958
Template load and register function0.00010.013210.0001
states
state_id_array0.00140.134210.0014
state_identifier_array0.00080.082220.0004
Override
Cache load0.00150.1491280.0001
Sytem overhead
Fetch class attribute can translate value0.00050.045930.0002
Fetch class attribute name0.00090.088170.0001
XML
Image XML parsing0.00270.264130.0009
class_abstraction
Instantiating content class attribute0.00000.002580.0000
General
dbfile0.00220.2205310.0001
String conversion0.00000.000440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs