Class ::xowiki::includelet::flowplayer (public)
::xowiki::IncludeletClass ::xowiki::includelet::flowplayer
Defined in /var/www/openacs.org/packages/xowiki/tcl/includelet-procs.tcl
Include an mp4 image using flowplayer
- Testcases:
- No testcase defined.
Source code: namespace eval ::xowiki::includelet {} ::nsf::object::alloc ::xowiki::IncludeletClass ::xowiki::includelet::flowplayer {set :__default_metaclass ::xotcl::Class set :__default_superclass ::xotcl::Object set :aggregating false set :cacheable false set :localized true set :personalized true} ::xowiki::includelet::flowplayer instproc render {} { :get_parameters return "<a href='[ns_quotehtml $mp4]' style='display:block;width:425px;height:300px;' id='player'> </a> <script type='text/javascript' nonce='[security::csp::nonce]'> flowplayer('player', '/resources/xowiki/flowplayer/flowplayer-3.2.7.swf', { // this will enable pseudostreaming support plugins: { pseudo: { url: '/resources/xowiki/flowplayer/flowplayer.pseudostreaming-3.1.3.swf' } }, // clip properties clip: { // our clip uses pseudostreaming provider: 'pseudo', autoPlay: false, autoBuffering: false, // Provide MP4 file for Flash version 9.0.115 and above. Otherwise use FLV url: '$mp4' } }); </script>" } ::xowiki::includelet::flowplayer instproc include_head_entries {} { ::xo::Page requireJS "/resources/xowiki/flowplayer/example/flowplayer-3.2.6.js" } ::xowiki::includelet::flowplayer instparametercmd parameter_declaration ::xowiki::includelet::flowplayer instparametercmd __decoration ::nsf::relation::set ::xowiki::includelet::flowplayer superclass ::xowiki::Includelet ::nx::slotObj -container slot ::xowiki::includelet::flowplayer ::xowiki::includelet::flowplayer::slot eval {set :__parameter { {__decoration none} {parameter_declaration { -mp4:required,nohtml }} }} ::nsf::object::alloc ::xotcl::Attribute ::xowiki::includelet::flowplayer::slot::__decoration {set :accessor public set :configurable true set :convert false set :default none set :defaultmethods {} set :disposition alias set :domain ::xowiki::includelet::flowplayer set :incremental 0 set :manager ::xowiki::includelet::flowplayer::slot::__decoration set :methodname __decoration set :multiplicity 1..1 set :name __decoration set :per-object false set :position 0 set :required false set :substdefault 0b111 set :trace none : init} ::nsf::object::alloc ::xotcl::Attribute ::xowiki::includelet::flowplayer::slot::parameter_declaration {set :accessor public set :configurable true set :convert false set :default { -mp4:required,nohtml } set :defaultmethods {} set :disposition alias set :domain ::xowiki::includelet::flowplayer set :incremental 0 set :manager ::xowiki::includelet::flowplayer::slot::parameter_declaration set :methodname parameter_declaration set :multiplicity 1..1 set :name parameter_declaration set :per-object false set :position 0 set :required false set :substdefault 0b111 set :trace none : init}XQL Not present: Generic, PostgreSQL, Oracle