diff --git a/wp-content/plugins/ai-embed/embed-function.php b/wp-content/plugins/ai-embed/embed-function.php new file mode 100644 index 0000000000000000000000000000000000000000..2e013150f0ff580635a6a11600c82a3ace3f12df --- /dev/null +++ b/wp-content/plugins/ai-embed/embed-function.php @@ -0,0 +1,247 @@ +<?php +/* +* Plugin Name: Ai - Add oembed provider and embed short +* Plugin URI: +* Description: AI -Add Embed +* Version: 1.2 +* Author: lechuck, lucha +* Author URI: http://noblogs.org +**/ +function wp_embed_handler_youtube( $matches, $attr, $url, $rawattr ) { +$width = ($rawattr['width']) ? $rawattr['width'] : 340 ; +$height = ($rawattr['height']) ? $rawattr['height'] : 560 ; +if (is_ssl()) { + $ret_url = str_replace('http://', 'https://', $matches[0]); +} else { + $ret_url = $matches[0]; +} +$embed = sprintf( + '<object height="%2$s" width="%3$s"><param name="movie" value="%1$s?fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="%1$s?fs=1" type="application/x-shockwave-flash" width="%2$s" height="%3$s" allowscriptaccess="always" allowfullscreen="true"></embed></object>',esc_attr($ret_url),esc_attr($height),esc_attro($width)); + + return apply_filters( 'embed_youtube', $embed, $matches, $attr, $url, $rawattr ); +} + +function wp_embed_handler_google_maps( $matches, $attr, $url, $rawattr ) { + $width = ($rawattr['width']) ? $rawattr['width'] : 425 ; + $height = ($rawattr['height']) ? $rawattr['height'] : 350 ; + $query = add_query_arg(array('output' => 'embed'), $matches[0]); + $embed = '<iframe width="'.esc_attr($width).'" height="'.esc_attr($height).'" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="'.esc_attr($query).'"></iframe>'; + + return apply_filters( 'embed_googlemaps', $embed, $matches, $attr, $url, $rawattr ); +} + +function wp_embed_handler_openstreetmap( $matches, $attr, $url, $rawattr ) { + $width = ($rawattr['width']) ? $rawattr['width'] : 425 ; + $height = ($rawattr['height']) ? $rawattr['height'] : 350 ; + $embed = '<iframe width="'.esc_attr($width).'" height="'.esc_attr($height).'" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="'.esc_attr($matches[0]).'"></iframe>'; + + return apply_filters( 'embed_openstreetmap', $embed, $matches, $attr, $url, $rawattr ); +} + +function wp_embed_handler_jamendo( $matches, $attr, $url, $rawattr ) +{ + $autoplay = ''; + if( $rawattr['autoplay'] == 'true' ) + { + $autoplay = '&playerautoplay=1'; + } + + if( $matches[1] == 'album' ) + { + $embed = sprintf( '<div style="text-align:center;"><object width="200" height="300" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" align="middle"><param name="allowScriptAccess" value="always" /><param name="wmode" value="transparent" /><param name="movie" value="http://widgets.jamendo.com/it/album/?album_id=%2$s%1$s&playertype=2008" /><param name="quality" value="high" /><param name="bgcolor" value="#FFFFFF" /><embed src="http://widgets.jamendo.com/it/album/?album_id=%2$s%1$s&playertype=2008" quality="high" wmode="transparent" bgcolor="#FFFFFF" width="200" height="300" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"> </embed> </object></div>', esc_attr( $autoplay ), esc_attr( $matches[2] )); + } + elseif( $matches[1] == 'track' ) + { + $embed = sprintf( + '<div style="text-align:center;"><object width="200" height="300" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" align="middle"><param name="allowScriptAccess" value="always" /><param name="wmode" value="transparent" /><param name="movie" value="http://widgets.jamendo.com/it/track/?playertype=2008%1$s&track_id=%2$s" /><param name="quality" value="high" /><param name="bgcolor" value="#FFFFFF" /><embed src="http://widgets.jamendo.com/it/track/?playertype=2008%1$s&track_id=%2$s" quality="high" wmode="transparent" bgcolor="#FFFFFF" width="200" height="300" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"> </embed> </object></div>', esc_attr( $autoplay ), esc_attr( $matches[2] ) ); + } + + + return apply_filters( 'embed_jamendo', $embed, $matches, $attr, $url, $rawattr ); +} + + +function wp_embed_handler_archive( $matches, $attr, $url, $rawattr ) { +global $flowneed; +$width = ($rawattr['width']) ? $rawattr['width'] : 340 ; +$height = ($rawattr['height']) ? $rawattr['height'] : 288; +$embed = sprintf( + '<div id="flowplayer%5$s" class="flowplayer" style="display:block;width:%3$spx;height:%2$spx;"> + <video width="%3$s" height="%2$s" src="%1$s" controls></video> + </div> + ',esc_attr($matches[0]),esc_attr($height),esc_attr($width),WP_PLUGIN_URL,md5(rand())); + wp_enqueue_script("flowplayer", WP_PLUGIN_URL."/ai-embed/flowplayer/js/flowplayer.min.js", false, null ); + $flowneed=true; + return apply_filters( 'embed_archive', $embed, $matches, $attr, $url, $rawattr ); +} + +function wp_embed_handler_stream( $matches, $attr, $url, $rawattr ) { +global $flowneed; +$urlstream=preg_replace('/stream:/','',$matches[0]); +$width = ($rawattr['width']) ? $rawattr['width'] : 425 ; +$height = ($rawattr['height']) ? $rawattr['height'] : 30; +$embed = sprintf( + '<div id="flowplayer%5$s" style="display:block;width:%3$spx;height:%2$spx;"></div> + <script> + flowplayer("flowplayer%5$s",{ src:" %4$s/ai-embed/flowplayer/flowplayer-3.2.5.swf"},{ + plugins: { + audio: { + url: "%4$s/ai-embed/flowplayer/flowplayer.audio-3.2.1.swf" + }, + controls: { + fullscreen: false, + height: 30, + autoHide: false + } + }, + clip: { url: "%1$s", + autoPlay: false, + autoBuffering: true + } + }); + </script>',esc_attr($urlstream),esc_attr($height),esc_attr($width),WP_PLUGIN_URL,md5(rand())); + wp_enqueue_script("flowplayer", WP_PLUGIN_URL."/ai-embed/flowplayer/js/flowplayer-3.2.4.min.js", false, null ); + $flowneed=true; + + return apply_filters( 'embed_stream', $embed, $matches, $attr, $url, $rawattr ); +} + +function wp_embed_handler_mp3( $matches, $attr, $url, $rawattr ) { +$width = ($rawattr['width']) ? $rawattr['width'] : 320 ; +$height = ($rawattr['height']) ? $rawattr['height'] : 20 ; +$embed= sprintf( + '<object data="http://noblogs.org/flash/mp3player/mp3player.swf" type="application/x-shockwave-flash" width="%3$s" height="%2$s"> + <param name="quality" value="best" /> + <param name="bgcolor" value="#FFFFFF" /> + <param name="movie" value="http://noblogs.org/flash/mp3player/mp3player.swf" /> + <param name="FlashVars" value="file=%1$s&height=%2$s&width=%3$s" /> + </object>',esc_attr($matches[0]),esc_attr($height),esc_attr($width)); + +return apply_filters( 'embed_archive', $embed, $matches, $attr, $url, $rawattr ); +} + +/*function wp_embed_handler_googlevideo( $matches, $attr, $url, $rawattr ) { +$width = ($rawattr['width']) ? $rawattr['width'] : 340 ; +$height = ($rawattr['height']) ? $rawattr['height'] : 288 ; +$embed= sprintf( + '<object data="%1$s" type="application/x-shockwave-flash" width="%3$s" height="%2$s"> + <param name="quality" value="best" /> + <param name="bgcolor" value="#FFFFFF" /> + <param name="movie" value="%1$s" /> + <param name="allowFullScreen" value="true" /> + <param name="FlashVars" value="playerMode=embedded" /> + </object>',esc_attr($matches[0]),esc_attr($height),esc_attr($width)); + +return apply_filters( 'embed_googlevideo', $embed, $matches, $attr, $url, $rawattr ); +}*/ + +function wp_embed_handler_umapper( $matches, $attr, $url, $rawattr ) { +$width = ($rawattr['width']) ? $rawattr['width'] : 900 ; +$height = ($rawattr['height']) ? $rawattr['height'] : 390 ; +/*classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0"*/ +$embed= sprintf( + '<object data="http://umapper.s3.amazonaws.com/templates/swf/embed.swf" type="application/x-shockwave-flash" width="%3$s" height="%2$s" > + <param name="FlashVars" value="kmlPath=%1$s"/> + <param name="allowScriptAccess" value="always"/> + <param name="allowFullScreen" value="true"/> + <param name="movie" value="http://umapper.s3.amazonaws.com/templates/swf/embed.swf"/> + <param name="quality" value="high"/> +</object>',esc_attr($matches[0]),esc_attr($height),esc_attr($width)); + +/* <embed src="http://umapper.s3.amazonaws.com/templates/swf/embed.swf" FlashVars="kmlPath=%1$s" allowScriptAccess="always" allowFullScreen="true" quality="high" width="%3$s" height="%2$s" name="umapper_embed" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>*/ + +return apply_filters( 'embed_umapper', $embed, $matches, $attr, $url, $rawattr ); +} + +function wp_embed_handler_dctptv( $matches, $attr, $url, $rawattr ) { +$width = ($rawattr['width']) ? $rawattr['width'] : 480 ; +$height = ($rawattr['height']) ? $rawattr['height'] : 396 ; +$embed= sprintf( + '<iframe width="%3$s" scrolling="no" height="%2$s" frameborder="0" src="%1$s" name="dctp-teaser" marginwidth="0" marginheight="0"><br> +</iframe>',esc_attr($matches[0]),esc_attr($height),esc_attr($width)); + +return apply_filters( 'embed_dctptv', $embed, $matches, $attr, $url, $rawattr ); +} + + +/*function wp_embed_handler_arav( $matches, $attr, $url, $rawattr ) { +$urlazzo=base64_decode(substr($url,34)); +$type = ($rawattr['type']) ? $rawattr['type'] : audio ; +$width = ($rawattr['width']) ? $rawattr['width'] : 480 ; +$height = ($rawattr['height']) ? $rawattr['height'] : 396 ; +if ($type=="video") { +$embed= sprintf( + '<video width="%3$s" height="%2$s" controls="true"><source src="http://storage.arav.ventuordici.org/%1$s" type=\'video/ogg; codecs="vorbis, theora"\'></source> +<applet code="com.fluendo.player.Cortado.class" archive="http://theora.org/cortado.jar" width="%3$s" height="%2$s"><param name="url" value="http://storage.arav.ventuordici.org/%1$s"> +<param name="duration" value="1000"></applet></video>',esc_attr($urlazzo),esc_attr($height),esc_attr($width)); +} +if ($type=="audio") { +$embed= sprintf( + '<audio src="http://storage.arav.ventuordici.org/%1$s" controls="true"> +<applet code="com.fluendo.player.Cortado.class" archive="http://theora.org/cortado.jar" width="580" height="40"> +<param name="url" value="http://storage.arav.ventuordici.org/%1$s"> +<param name="duration" value="1129"></applet></audio>',esc_attr($urlazzo),esc_attr($height),esc_attr($width)); +} +return apply_filters( 'embed_arav', $embed, $matches, $attr, $url, $rawattr ); +}*/ + +function wp_embed_handler_ogm( $matches, $attr, $url, $rawattr ) { +$width = ($rawattr['width']) ? $rawattr['width'] : 480 ; +$height = ($rawattr['height']) ? $rawattr['height'] : 396 ; +$embed= sprintf( + '<video width="%3$s" height="%2$s" controls><source src="%1$s" type="video/ogg; codecs=theora,vorbis"></source><applet code="com.fluendo.player.Cortado.class" archive="http://theora.org/cortado.jar" width="%3$s" height="%2$s"><param name="url" value="%1$s" /></applet></video>',esc_attr($url),esc_attr($height),esc_attr($width)); +return apply_filters( 'embed_ogm', $embed, $matches, $attr, $url, $rawattr ); +} + +function register_embed_handlers() { + wp_embed_register_handler( 'stream', '#stream:.*#i', 'wp_embed_handler_stream' ); + wp_embed_register_handler( 'mp3', '#http://.*?/.*?mp3#i', 'wp_embed_handler_mp3' ); + wp_embed_register_handler( 'ogm', '#http://.*?/.*?ogm#i', 'wp_embed_handler_ogm' ); + wp_embed_register_handler( 'archive', '#http://(.+\.)?archive.org/.*/.*\.(mp4|wmv|mov|mp3|ogv)#i', 'wp_embed_handler_archive' ); + wp_embed_register_handler( 'umapper', '#http://umapper.s3.amazonaws.com/.*?\.kml#i', 'wp_embed_handler_umapper' ); + wp_embed_register_handler( 'youtube', '#http://(www\.)?youtube\.com/v/.*?#i', 'wp_embed_handler_youtube' ); + wp_embed_register_handler( 'jamendo', '#http://www\.jamendo\.com/.*/(album|track)/(.*)#i', 'wp_embed_handler_jamendo' ); + wp_embed_register_handler( 'dctptv', '#http://www.dctp.tv/embed/.*?/#i', 'wp_embed_handler_dctptv' ); + wp_embed_register_handler( 'googlemaps', '#http(s)?://maps\.google\.[^\.]+/(.*)#i', 'wp_embed_handler_google_maps'); + wp_embed_register_handler( 'openstreetmap', '#http://www\.openstreetmap\.org/export/embed.html\?(.*)#i', 'wp_embed_handler_openstreetmap'); +} +add_action('wp', 'register_embed_handlers'); + +function enqueue_flowplayer() { + wp_enqueue_script("flowplayer", WP_PLUGIN_URL."/ai-embed/flowplayer/js/flowplayer-3.2.4.min.js", false, null ); +} +add_action('wp_enqueue_scripts', 'enqueue_flowplayer'); + +/* embed.ly providers */ +$embedly = 'http://api.embed.ly/1/oembed'; +wp_oembed_add_provider('http://*.slideshare.net/*',$embedly, false ); +wp_oembed_add_provider('http://*.metacafe.com/watch/*',$embedly, false ); +wp_oembed_add_provider('http://*.5min.com/Video/*',$embedly, false ); +wp_oembed_add_provider('#http://(.+\.)xkcd\.com/.*#i',$embedly, true ); +wp_oembed_add_provider('#http://(www\.)?asofterworld\.com/.*#i',$embedly, true ); +wp_oembed_add_provider('http://*.wikipedia.org/wiki/*',$embedly, false ); +wp_oembed_add_provider('http://www.wikimedia.org/wiki/File*',$embedly, false ); +wp_oembed_add_provider('http://storify.com/*', $embedly, false ); +/* Ted Talks */ +wp_oembed_add_provider('http://www.ted.com/talks/*', 'http://www.ted.com/talks/oembed.json', false); +/* arkiwi */ +wp_oembed_add_provider('http://www.arkiwi.org/*','http://www.arkiwi.org/oembed/', false ); +wp_oembed_add_provider('http://arav.ventuordici.org/*','http://www.arkiwi.org/oembed/', false ); +wp_oembed_add_provider('http://mp38.contaminati.net/*','http://www.arkiwi.org/oembed/', false ); +wp_oembed_add_provider('http://media.fest-antifa.net/*','http://www.arkiwi.org/oembed/', false ); +/* bambuser */ +wp_oembed_add_provider('http://*.bambuser.com/*','http://api.bambuser.com/oembed', false); +/* mixcloud */ +wp_oembed_add_provider('#https?://(www\.)?mixcloud\.com/.*#i', 'http://mixcloud.com/oembed', true); + +/*add_action('wp_footer', 'injectJS'); + +function injectJS() { + global $flowneed; + + if ( ! $flowneed ) + return; + wp_register_script("flowplayer", WP_PLUGIN_URL."/ai-embed/flowplayer/js/flowplayer.min.js", false, null ); + wp_print_scripts('flowplayer'); +}*/ +?> diff --git a/wp-content/plugins/ai-embed/flowplayer/LICENSE.md b/wp-content/plugins/ai-embed/flowplayer/LICENSE.md new file mode 100644 index 0000000000000000000000000000000000000000..290bc3e9ef0552948790f149c91bfa22cd3e1592 --- /dev/null +++ b/wp-content/plugins/ai-embed/flowplayer/LICENSE.md @@ -0,0 +1,715 @@ + +# GPL License v3 + +The Flowplayer Free version is released under the GNU GENERAL PUBLIC LICENSE +Version 3 (GPL). + +#### The GPL requires that you not remove the Flowplayer logo and copyright notices from the user interface. See section 5.d below. + +Commercial licenses [are available](http://flowplayer.org/download/). The commercial player version does not +require any Flowplayer notices or texts and also provides some additional +features. + + +## ADDITIONAL TERM per GPL Section 7 + +If you convey this program (or any modifications of it) and assume +contractual liability for the program to recipients of it, you agree to +indemnify Flowplayer, Ltd. for any liability that those contractual +assumptions impose on Flowplayer, Ltd. + +Except as expressly provided herein, no trademark rights are granted in any +trademarks of Flowplayer, Ltd. Licensees are granted a limited, non-exclusive +right to use the mark Flowplayer and the Flowplayer logos in connection with +unmodified copies of the Program and the copyright notices required by section +5.d of the GPL license. For the purposes of this limited trademark license +grant, customizing the Flowplayer by skinning, scripting, or including plugins +provided by Flowplayer, Ltd. is not considered modifying the Program. + +Licensees that do modify the Program, taking advantage of the open-source +license, may not use the Flowplayer mark or Flowplayer logos and must +change the logo as follows: + +stating that the licensee modified the Flowplayer. A suitable notice might +read "Flowplayer Source code modified by ModOrg 2012"; for the canvas, the +notice should read "Based on Flowplayer source code". + +In addition, licensees that modify the Program must give the modified Program +a new name that is not confusingly similar to Flowplayer and may not +distribute it under the name Flowplayer. + + +# GNU GENERAL PUBLIC LICENSE +## Version 3, 29 June 2007 + +Copyright (C) 2007 Free Software Foundation, Inc. http://fsf.org +Everyone is permitted to copy and distribute verbatim copies +of this license document, but changing it is not allowed. + +### Preamble + +The GNU General Public License is a free, copyleft license for +software and other kinds of works. + +The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + +When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + +To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + +For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + +Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + +For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + +Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + +Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + +The precise terms and conditions for copying, distribution and +modification follow. + +### TERMS AND CONDITIONS + +### 0. Definitions. + +*This License* refers to version 3 of the GNU General Public License. + +*Copyright* also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + +*The Program* refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + +To *modify* a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + +A *covered work* means either the unmodified Program or a work based +on the Program. + +To *propagate* a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + +To *convey* a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + +An interactive user interface displays *Appropriate Legal Notices* +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + +### 1. Source Code. + +The *source code* for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + +A *Standard Interface* means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + +The *System Libraries* of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + +The *Corresponding Source* for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + +The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + +The Corresponding Source for a work in source code form is that +same work. + +### 2. Basic Permissions. + +All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + +You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + +Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + +### 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + +No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + +When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + +### 4. Conveying Verbatim Copies. + +You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + +You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + +### 5. Conveying Modified Source Versions. + +You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + +a) The work must carry prominent notices stating that you modified +it, and giving a relevant date. + +b) The work must carry prominent notices stating that it is +released under this License and any conditions added under section +7. This requirement modifies the requirement in section 4 to +"keep intact all notices". + +c) You must license the entire work, as a whole, under this +License to anyone who comes into possession of a copy. This +License will therefore apply, along with any applicable section 7 +additional terms, to the whole of the work, and all its parts, +regardless of how they are packaged. This License gives no +permission to license the work in any other way, but it does not +invalidate such permission if you have separately received it. + +d) If the work has interactive user interfaces, each must display +Appropriate Legal Notices; however, if the Program has interactive +interfaces that do not display Appropriate Legal Notices, your +work need not make them do so. + +A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + +### 6. Conveying Non-Source Forms. + +You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + +a) Convey the object code in, or embodied in, a physical product +(including a physical distribution medium), accompanied by the +Corresponding Source fixed on a durable physical medium +customarily used for software interchange. + +b) Convey the object code in, or embodied in, a physical product +(including a physical distribution medium), accompanied by a +written offer, valid for at least three years and valid for as +long as you offer spare parts or customer support for that product +model, to give anyone who possesses the object code either (1) a +copy of the Corresponding Source for all the software in the +product that is covered by this License, on a durable physical +medium customarily used for software interchange, for a price no +more than your reasonable cost of physically performing this +conveying of source, or (2) access to copy the +Corresponding Source from a network server at no charge. + +c) Convey individual copies of the object code with a copy of the +written offer to provide the Corresponding Source. This +alternative is allowed only occasionally and noncommercially, and +only if you received the object code with such an offer, in accord +with subsection 6b. + +d) Convey the object code by offering access from a designated +place (gratis or for a charge), and offer equivalent access to the +Corresponding Source in the same way through the same place at no +further charge. You need not require recipients to copy the +Corresponding Source along with the object code. If the place to +copy the object code is a network server, the Corresponding Source +may be on a different server (operated by you or a third party) +that supports equivalent copying facilities, provided you maintain +clear directions next to the object code saying where to find the +Corresponding Source. Regardless of what server hosts the +Corresponding Source, you remain obligated to ensure that it is +available for as long as needed to satisfy these requirements. + +e) Convey the object code using peer-to-peer transmission, provided +you inform other peers where the object code and Corresponding +Source of the work are being offered to the general public at no +charge under subsection 6d. + +A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + +A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + +"Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + +If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + +The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + +Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + +### 7. Additional Terms. + +"Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + +When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + +Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + +a) Disclaiming warranty or limiting liability differently from the +terms of sections 15 and 16 of this License; or + +b) Requiring preservation of specified reasonable legal notices or +author attributions in that material or in the Appropriate Legal +Notices displayed by works containing it; or + +c) Prohibiting misrepresentation of the origin of that material, or +requiring that modified versions of such material be marked in +reasonable ways as different from the original version; or + +d) Limiting the use for publicity purposes of names of licensors or +authors of the material; or + +e) Declining to grant rights under trademark law for use of some +trade names, trademarks, or service marks; or + +f) Requiring indemnification of licensors and authors of that +material by anyone who conveys the material (or modified versions of +it) with contractual assumptions of liability to the recipient, for +any liability that these contractual assumptions directly impose on +those licensors and authors. + +All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + +If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + +Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + +### 8. Termination. + +You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + +However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + +Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + +Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + +### 9. Acceptance Not Required for Having Copies. + +You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + +### 10. Automatic Licensing of Downstream Recipients. + +Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + +An *entity transaction* is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + +You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + +### 11. Patents. + +A *contributor* is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + +A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + +Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + +In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + +If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + +If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + +A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + +Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + +### 12. No Surrender of Others' Freedom. + +If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + +### 13. Use with the GNU Affero General Public License. + +Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + +### 14. Revised Versions of this License. + +The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + +If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + +Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + +### 15. Disclaimer of Warranty. + +THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +### 16. Limitation of Liability. + +IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + +### 17. Interpretation of Sections 15 and 16. + +If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + +END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Programs + +If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + +To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + +One line to give the program's name and a brief idea of what it does. +Copyright (C) <year> <name of author> + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see http://www.gnu.org/licenses/. + +Also add information on how to contact you by electronic and paper mail. + +If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + +<program> Copyright (C) <year> <name of author> +This program comes with ABSOLUTELY NO WARRANTY; for details type 'show w'. +This is free software, and you are welcome to redistribute it +under certain conditions; type `show c' for details. + +The hypothetical commands 'show w' and 'show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + +You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +http://www.gnu.org/licenses/. + +The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +http://www.gnu.org/philosophy/why-not-lgpl.html. diff --git a/wp-content/plugins/ai-embed/flowplayer/flowplayer-3.2.5.swf b/wp-content/plugins/ai-embed/flowplayer/flowplayer-3.2.5.swf new file mode 100644 index 0000000000000000000000000000000000000000..c9ff79a7df2357dac481a3274780895659bf439b Binary files /dev/null and b/wp-content/plugins/ai-embed/flowplayer/flowplayer-3.2.5.swf differ diff --git a/wp-content/plugins/ai-embed/flowplayer/flowplayer-5.3.2.zip b/wp-content/plugins/ai-embed/flowplayer/flowplayer-5.3.2.zip new file mode 100644 index 0000000000000000000000000000000000000000..f873c3ee0d7fa8d9250cbd2889ff625b9233fd7f Binary files /dev/null and b/wp-content/plugins/ai-embed/flowplayer/flowplayer-5.3.2.zip differ diff --git a/wp-content/plugins/ai-embed/flowplayer/flowplayer.audio-3.2.1.swf b/wp-content/plugins/ai-embed/flowplayer/flowplayer.audio-3.2.1.swf new file mode 100644 index 0000000000000000000000000000000000000000..3f1ad82cefd6f39c2e7cb939b3834e2b6a5265b3 Binary files /dev/null and b/wp-content/plugins/ai-embed/flowplayer/flowplayer.audio-3.2.1.swf differ diff --git a/wp-content/plugins/ai-embed/flowplayer/flowplayer.controls-3.2.3.swf b/wp-content/plugins/ai-embed/flowplayer/flowplayer.controls-3.2.3.swf new file mode 100644 index 0000000000000000000000000000000000000000..190b5bea76d2df838ba0df531bb7c664cfa26673 Binary files /dev/null and b/wp-content/plugins/ai-embed/flowplayer/flowplayer.controls-3.2.3.swf differ diff --git a/wp-content/plugins/ai-embed/flowplayer/flowplayer.js b/wp-content/plugins/ai-embed/flowplayer/flowplayer.js new file mode 100644 index 0000000000000000000000000000000000000000..25e75fdd2d8ef5d8ad58ecff9639566d40109a74 --- /dev/null +++ b/wp-content/plugins/ai-embed/flowplayer/flowplayer.js @@ -0,0 +1,2222 @@ +/*! + + Flowplayer v5.3.2 (Monday, 28. January 2013 10:02AM) | flowplayer.org/license + +*/ +!function($) { + +/* + jQuery.browser for 1.9+ + + We all love feature detection but that's sometimes not enough. + + @author Tero Piirainen +*/ +!function($) { + + if (!$.browser) { + + var b = $.browser = {}, + ua = navigator.userAgent.toLowerCase(), + match = /(chrome)[ \/]([\w.]+)/.exec(ua) || + /(webkit)[ \/]([\w.]+)/.exec(ua) || + /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) || + /(msie) ([\w.]+)/.exec(ua) || + ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) || []; + + if (match[1]) { + b[match[1]] = true; + b.version = match[2] || "0"; + } + + } + +}(jQuery); +// auto-install (any video tag with parent .flowplayer) +$(function() { + if (typeof $.fn.flowplayer == 'function') { + $("video").parent(".flowplayer").flowplayer(); + } +}); + +var instances = [], + extensions = [], + UA = navigator.userAgent, + use_native = /Android/.test(UA) && /Firefox/.test(UA); + + +/* flowplayer() */ +window.flowplayer = function(fn) { + return use_native ? 0 : + $.isFunction(fn) ? extensions.push(fn) : + typeof fn == 'number' || fn === undefined ? instances[fn || 0] : + $(fn).data("flowplayer"); +}; + + +$.extend(flowplayer, { + + version: '5.3.2', + + engine: {}, + + conf: {}, + + support: {}, + + defaults: { + + debug: false, + + // true = forced playback + disabled: false, + + // first engine to try + engine: 'html5', + + fullscreen: window == window.top, + + // keyboard shortcuts + keyboard: true, + + // default aspect ratio + ratio: 9 / 16, + + // scale flash object to video's aspect ratio in normal mode? + flashfit: false, + + rtmp: 0, + + splash: false, + + swf: "http://releases.flowplayer.org/5.3.2/flowplayer.swf", + + speeds: [0.25, 0.5, 1, 1.5, 2], + + tooltip: true, + + // initial volume level + volume: 1, + + // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#error-codes + errors: [ + + // video exceptions + '', + 'Video loading aborted', + 'Network error', + 'Video not properly encoded', + 'Video file not found', + + // player exceptions + 'Unsupported video', + 'Skin not found', + 'SWF file not found', + 'Subtitles not found', + 'Invalid RTMP URL', + 'Unsupported video format. Try installing Adobe Flash.' + ], + errorUrls: ['','','','','','','','','','', + 'http://get.adobe.com/flashplayer/' + ] + + } + +}); + +// smartphones simply use native controls +if (use_native) { + return $(function() { $("video").attr("controls", "controls"); }); +} + +// keep track of players +var playerCount = 0; + +// jQuery plugin +$.fn.flowplayer = function(opts, callback) { + + if (typeof opts == 'string') opts = { swf: opts } + if ($.isFunction(opts)) { callback = opts; opts = {} } + + return !opts && this.data("flowplayer") || this.each(function() { + + // private variables + var root = $(this).addClass("is-loading"), + conf = $.extend({}, flowplayer.defaults, flowplayer.conf, opts, root.data()), + videoTag = $("video", root).addClass("fp-engine").removeAttr("controls"), + urlResolver = new URLResolver(videoTag), + storage = {}, + lastSeekPosition, + engine; + + root.data('fp-player_id', root.data('fp-player_id') || playerCount++); + + try { + storage = window.localStorage || storage; + } catch(e) {} + + /*** API ***/ + var api = { + + // properties + conf: conf, + currentSpeed: 1, + volumeLevel: storage.volume * 1 || conf.volume, + video: {}, + + // states + disabled: false, + finished: false, + loading: false, + muted: storage.muted == "true" || conf.muted, + paused: false, + playing: false, + ready: false, + splash: false, + + // methods + load: function(video, callback) { + + if (api.error || api.loading || api.disabled) return; + + // resolve URL + video = urlResolver.resolve(video); + $.extend(video, engine.pick(video.sources)); + + if (video.src) { + var e = $.Event("load"); + root.trigger(e, [api, video, engine]); + + if (!e.isDefaultPrevented()) { + engine.load(video); + + // callback + if ($.isFunction(video)) callback = video; + if (callback) root.one("ready", callback); + } + } + + return api; + }, + + pause: function(fn) { + if (api.ready && !api.seeking && !api.disabled && !api.loading) { + engine.pause(); + api.one("pause", fn); + } + return api; + }, + + resume: function() { + + if (api.ready && api.paused && !api.disabled) { + engine.resume(); + + // Firefox (+others?) does not fire "resume" after finish + if (api.finished) { + api.trigger("resume"); + api.finished = false; + } + } + + return api; + }, + + toggle: function() { + return api.ready ? api.paused ? api.resume() : api.pause() : api.load(); + }, + + /* + seek(1.4) -> 1.4s time + seek(true) -> 10% forward + seek(false) -> 10% backward + */ + seek: function(time, callback) { + if (api.ready) { + + if (typeof time == "boolean") { + var delta = api.video.duration * 0.1; + time = api.video.time + (time ? delta : -delta); + } + + time = lastSeekPosition = Math.min(Math.max(time, 0), api.video.duration); + engine.seek(time); + if ($.isFunction(callback)) root.one("seek", callback); + } + return api; + }, + + /* + seekTo(1) -> 10% + seekTo(2) -> 20% + seekTo(3) -> 30% + ... + seekTo() -> last position + */ + seekTo: function(position, fn) { + var time = position === undefined ? lastSeekPosition : api.video.duration * 0.1 * position; + return api.seek(time, fn); + }, + + mute: function(flag) { + if (flag == undefined) flag = !api.muted; + storage.muted = api.muted = flag; + api.volume(flag ? 0 : storage.volume); + api.trigger("mute", flag); + }, + + volume: function(level) { + if (api.ready) { + level = Math.min(Math.max(level, 0), 1); + storage.volume = level; + engine.volume(level); + } + + return api; + }, + + speed: function(val, callback) { + + if (api.ready) { + + // increase / decrease + if (typeof val == "boolean") { + val = conf.speeds[$.inArray(api.currentSpeed, conf.speeds) + (val ? 1 : -1)] || api.currentSpeed; + } + + engine.speed(val); + if (callback) root.one("speed", callback); + } + + return api; + }, + + + stop: function() { + if (api.ready) { + api.pause(); + api.seek(0, function() { + root.trigger("stop"); + }); + } + return api; + }, + + unload: function() { + if (!root.hasClass("is-embedding")) { + + if (conf.splash) { + api.trigger("unload"); + engine.unload(); + } else { + api.stop(); + } + } + return api; + }, + + disable: function(flag) { + if (flag === undefined) flag = !api.disabled; + + if (flag != api.disabled) { + api.disabled = flag; + api.trigger("disable", flag); + } + } + + }; + + + /* event binding / unbinding */ + $.each(['bind', 'one', 'unbind'], function(i, key) { + api[key] = function(type, fn) { + root[key](type, fn); + return api; + }; + }); + + api.trigger = function(event, arg) { + root.trigger(event, [api, arg]); + return api; + }; + + + /*** Behaviour ***/ + + root.bind("boot", function() { + + // conf + $.each(['autoplay', 'loop', 'preload', 'poster'], function(i, key) { + var val = videoTag.attr(key); + if (val !== undefined) conf[key] = val ? val : true; + }); + + // splash + if (conf.splash || root.hasClass("is-splash") || !flowplayer.support.firstframe) { + api.splash = conf.splash = conf.autoplay = true; + root.addClass("is-splash"); + videoTag.attr("preload", "none"); + } + + // extensions + $.each(extensions, function(i) { + this(api, root); + }); + + // 1. use the configured engine + engine = flowplayer.engine[conf.engine]; + if (engine) engine = engine(api, root); + + if (engine.pick(urlResolver.initialSources)) { + api.engine = conf.engine; + + // 2. failed -> try another + } else { + $.each(flowplayer.engine, function(name, impl) { + if (name != conf.engine) { + engine = this(api, root); + if (engine.pick(urlResolver.initialSources)) api.engine = name; + return false; + } + }); + } + + // no engine + if (!api.engine) return api.trigger("error", { code: flowplayer.support.flash ? 5 : 10 }); + + // start + conf.splash ? api.unload() : api.load(); + + // disabled + if (conf.disabled) api.disable(); + + // initial callback + root.one("ready", callback); + + // instances + instances.push(api); + + + }).bind("load", function(e, api, video) { + + // unload others + if (conf.splash) { + $(".flowplayer").filter(".is-ready, .is-loading").not(root).each(function() { + var api = $(this).data("flowplayer"); + if (api.conf.splash) api.unload(); + }); + } + + // loading + root.addClass("is-loading"); + api.loading = true; + + + }).bind("ready", function(e, api, video) { + video.time = 0; + api.video = video; + + function notLoading() { + root.removeClass("is-loading"); + api.loading = false; + } + + if (conf.splash) root.one("progress", notLoading); + else notLoading(); + + // saved state + if (api.muted) api.mute(true); + else api.volume(api.volumeLevel); + + + }).bind("unload", function(e) { + if (conf.splash) videoTag.remove(); + root.removeClass("is-loading"); + api.loading = false; + + + }).bind("ready unload", function(e) { + var is_ready = e.type == "ready"; + root.toggleClass("is-splash", !is_ready).toggleClass("is-ready", is_ready); + api.ready = is_ready; + api.splash = !is_ready; + + + }).bind("progress", function(e, api, time) { + api.video.time = time; + + + }).bind("speed", function(e, api, val) { + api.currentSpeed = val; + + }).bind("volume", function(e, api, level) { + api.volumeLevel = Math.round(level * 100) / 100; + if (!api.muted) storage.volume = level; + else if (level) api.mute(false); + + + }).bind("beforeseek seek", function(e) { + api.seeking = e.type == "beforeseek"; + root.toggleClass("is-seeking", api.seeking); + + }).bind("ready pause resume unload finish stop", function(e, _api, video) { + + // PAUSED: pause / finish + api.paused = /pause|finish|unload|stop/.test(e.type); + + // SHAKY HACK: first-frame / preload=none + if (e.type == "ready") { + if (video) { + api.paused = !video.duration || !conf.autoplay && (conf.preload != 'none' || api.engine == 'flash'); + } + } + + // the opposite + api.playing = !api.paused; + + // CSS classes + root.toggleClass("is-paused", api.paused).toggleClass("is-playing", api.playing); + + // sanity check + if (!api.load.ed) api.pause(); + + }).bind("finish", function(e) { + api.finished = true; + + }).bind("error", function() { + videoTag.remove(); + }); + + // boot + root.trigger("boot", [api, root]).data("flowplayer", api); + + }); + +}; + +!function() { + + var s = flowplayer.support, + browser = $.browser, + video = $("<video loop autoplay preload/>")[0], + IS_IE = browser.msie, + UA = navigator.userAgent, + IS_IPAD = /iPad|MeeGo/.test(UA), + IS_IPHONE = /iP(hone|od)/i.test(UA), + IS_ANDROID = /Android/.test(UA), + IS_SILK = /Silk/.test(UA), + IPAD_VER = IS_IPAD ? parseFloat(/Version\/(\d\.\d)/.exec(UA)[1], 10) : 0; + + + $.extend(s, { + video: !!video.canPlayType, + subtitles: !!video.addTextTrack, + fullscreen: typeof document.webkitCancelFullScreen == 'function' + && !/Mac OS X 10_5.+Version\/5\.0\.\d Safari/.test(UA) || document.mozFullScreenEnabled, + fullscreen_keyboard: !browser.safari || browser.version > "536", + inlineBlock: !(IS_IE && browser.version < 8), + touch: ('ontouchstart' in window), + dataload: !IS_IPAD && !IS_IPHONE, + zeropreload: !IS_IE && !IS_ANDROID, // IE supports only preload=metadata + volume: !IS_IPAD && !IS_ANDROID && !IS_IPHONE && !IS_SILK, + cachedVideoTag: !IS_IPAD && !IS_IPHONE, + firstframe: !IS_IPHONE && !IS_IPAD && !IS_ANDROID && !IS_SILK + }); + + // flashVideo + try { + var ver = IS_IE ? new ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable('$version') : + navigator.plugins["Shockwave Flash"].description; + + ver = ver.split(/\D+/); + if (ver.length && !ver[0]) ver = ver.slice(1); + + s.flashVideo = ver[0] > 9 || ver[0] == 9 && ver[3] >= 115; + + } catch (ignored) {} + + // animation + s.animation = (function() { + var vendors = ['','Webkit','Moz','O','ms','Khtml'], el = $("<p/>")[0]; + + for (var i = 0; i < vendors.length; i++) { + if (el.style[vendors[i] + 'AnimationName'] !== 'undefined') return true; + } + })(); + + + +}(); + + +/* The most minimal Flash embedding */ + +// movie required in opts +function embed(swf, flashvars) { + + var id = "obj" + ("" + Math.random()).slice(2, 15), + tag = '<object class="fp-engine" id="' + id+ '" name="' + id + '" '; + + tag += $.browser.msie ? 'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">' : + ' data="' + swf + '" type="application/x-shockwave-flash">'; + + var opts = { + width: "100%", + height: "100%", + allowscriptaccess: "always", + wmode: "transparent", + quality: "high", + flashvars: "", + + // https://github.com/flowplayer/flowplayer/issues/13#issuecomment-9369919 + movie: swf + ($.browser.msie ? "?" + id : ""), + name: id + }; + + // flashvars + $.each(flashvars, function(key, value) { + opts.flashvars += key + "=" + value + "&"; + }); + + // parameters + $.each(opts, function(key, value) { + tag += '<param name="' + key + '" value="'+ value +'"/>'; + }); + + tag += "</object>"; + + return $(tag); +} + + +// Flash is buggy allover +if (window.attachEvent) { + window.attachEvent("onbeforeunload", function() { + __flash_savedUnloadHandler = __flash_unloadHandler = function() {}; + }); +} + + +flowplayer.engine.flash = function(player, root) { + + var conf = player.conf, + video = player.video, + callbackId, + objectTag, + api; + + var engine = { + + pick: function(sources) { + + if (flowplayer.support.flashVideo) { + + // always pick video/flash first + var flash = $.grep(sources, function(source) { return source.type == 'flash'; })[0]; + if (flash) return flash; + + for (var i = 0, source; i < sources.length; i++) { + source = sources[i]; + if (/mp4|flv/.test(source.type)) return source; + } + } + }, + + load: function(video) { + + var html5Tag = $("video", root), + url = video.src.replace(/&/g, '%26').replace(/&/g, '%26').replace(/=/g, '%3D'), + is_absolute = /^https?:/.test(url); + + // html5 tag not needed (pause needed for firefox) + if (html5Tag.length > 0 && flowplayer.support.video) html5Tag[0].pause(); + html5Tag.remove(); + + // convert to absolute + if (!is_absolute && !conf.rtmp) url = $("<a/>").attr("href", url)[0].href; + + if (api) { + api.__play(url); + + } else { + + callbackId = "fp" + ("" + Math.random()).slice(3, 15); + + var opts = { + hostname: conf.embedded ? conf.hostname : location.hostname, + url: url, + callback: "jQuery."+ callbackId + }; + + if (is_absolute) delete conf.rtmp; + + // optional conf + $.each(['key', 'autoplay', 'preload', 'rtmp', 'loop', 'debug'], function(i, key) { + if (conf[key]) opts[key] = conf[key]; + }); + + objectTag = embed(conf.swf, opts); + + objectTag.prependTo(root); + + api = objectTag[0]; + + // throw error if no loading occurs + setTimeout(function() { + try { + if (!api.PercentLoaded()) { + return root.trigger("error", [player, { code: 7, url: conf.swf }]); + } + } catch (e) {} + }, 5000); + + // listen + $[callbackId] = function(type, arg) { + + if (conf.debug && type != "status") console.log("--", type, arg); + + var event = $.Event(type); + + switch (type) { + + // RTMP sends a lot of finish events in vain + // case "finish": if (conf.rtmp) return; + case "ready": arg = $.extend(video, arg); break; + case "click": event.flash = true; break; + case "keydown": event.which = arg; break; + case "seek": video.time = arg; break; + case "buffered": video.buffered = true; break; + + case "status": + player.trigger("progress", arg.time); + + if (arg.buffer <= video.bytes && !video.buffered) { + video.buffer = arg.buffer / video.bytes * video.duration; + player.trigger("buffer", video.buffer); + + } else if (video.buffered) player.trigger("buffered"); + + break; + + } + + // add some delay to that player is truly ready after an event + setTimeout(function() { player.trigger(event, arg); }, 1) + + }; + + } + + }, + + // not supported yet + speed: $.noop, + + + unload: function() { + api && api.__unload && api.__unload(); + delete $[callbackId]; + $("object", root).remove(); + api = 0; + } + + }; + + $.each("pause,resume,seek,volume".split(","), function(i, name) { + + engine[name] = function(arg) { + + if (player.ready) { + + if (name == 'seek' && player.video.time && !player.paused) { + player.trigger("beforeseek"); + } + + if (arg === undefined) { + api["__" + name](); + + } else { + api["__" + name](arg); + } + + } + }; + + }); + + var win = $(window), + origH = root.height(), + origW = root.width(); + + // handle Flash object aspect ratio + player.bind("ready fullscreen fullscreen-exit", function(e) { + if (player.conf.flashfit || /full/.test(e.type)) { + + var fs = player.isFullscreen, + truefs = fs && FS_SUPPORT, + ie7 = !flowplayer.support.inlineBlock, + screenW = fs ? (truefs ? screen.availWidth : win.width()) : origW, + screenH = fs ? (truefs ? screen.availHeight : win.height()) : origH, + + // default values for fullscreen-exit without flashfit + hmargin = truefs ? screen.width - screen.availWidth : 0, + vmargin = truefs ? screen.height - screen.availHeight : 0, + objwidth = ie7 ? origW : '', + objheight = ie7 ? origH : '', + + aspectratio, dataratio; + + if (player.conf.flashfit || e.type === "fullscreen") { + aspectratio = player.video.width / player.video.height, + dataratio = player.video.height / player.video.width, + objheight = Math.max(dataratio * screenW), + objwidth = Math.max(aspectratio * screenH); + objheight = objheight > screenH ? objwidth * dataratio : objheight; + objheight = Math.min(Math.round(objheight), screenH); + objwidth = objwidth > screenW ? objheight * aspectratio : objwidth; + objwidth = Math.min(Math.round(objwidth), screenW); + vmargin = Math.max(Math.round((screenH + vmargin - objheight) / 2), 0); + hmargin = Math.max(Math.round((screenW + hmargin - objwidth) / 2), 0); + } + + $("object", root).css({ + width: objwidth, + height: objheight, + marginTop: vmargin, + marginLeft: hmargin + }); + } + }); + + return engine; + +}; + + +var VIDEO = $('<video/>')[0]; + +// HTML5 --> Flowplayer event +var EVENTS = { + + // fired + ended: 'finish', + pause: 'pause', + play: 'resume', + progress: 'buffer', + timeupdate: 'progress', + volumechange: 'volume', + ratechange: 'speed', + seeking: 'beforeseek', + seeked: 'seek', + // abort: 'resume', + + // not fired + loadeddata: 'ready', + // loadedmetadata: 0, + // canplay: 0, + + // error events + // load: 0, + // emptied: 0, + // empty: 0, + error: 'error', + dataunavailable: 'error' + +}; + +function round(val) { + return Math.round(val * 100) / 100; +} + +function getType(type) { + return /mpegurl/i.test(type) ? "application/x-mpegurl" : "video/" + type; +} + +function canPlay(type) { + if (!/^(video|application)/.test(type)) + type = getType(type); + return !!VIDEO.canPlayType(type).replace("no", ''); +} + +var videoTagCache; +var createVideoTag = function(video) { + if (videoTagCache) { + return videoTagCache.attr({type: getType(video.type), src: video.src}); + } + return (videoTagCache = $("<video/>", { + src: video.src, + type: getType(video.type), + 'class': 'fp-engine', + 'autoplay': 'autoplay', + preload: 'none' + })); +} + +flowplayer.engine.html5 = function(player, root) { + + var videoTag = $("video", root), + support = flowplayer.support, + track = $("track", videoTag), + conf = player.conf, + self, + timer, + api; + + return self = { + + pick: function(sources) { + if (support.video) { + for (var i = 0, source; i < sources.length; i++) { + if (canPlay(sources[i].type)) return sources[i]; + } + } + }, + + load: function(video) { + + if (conf.splash && !api) { + + videoTag = createVideoTag(video).prependTo(root); + + if (track.length) videoTag.append(track.attr("default", "")); + + if (conf.loop) videoTag.attr("loop", "loop"); + + api = videoTag[0]; + + } else { + + api = videoTag[0]; + + // change of clip + if (player.video.src && video.src != player.video.src) { + videoTag.attr("autoplay", "autoplay"); + api.src = video.src; + + // preload=none or no initial "loadeddata" event + } else if (conf.preload == 'none' || !support.dataload) { + + if (support.zeropreload) { + player.trigger("ready", video).trigger("pause").one("ready", function() { + root.trigger("resume"); + }); + + } else { + player.one("ready", function() { + root.trigger("pause"); + }); + } + } + + } + + listen(api, $("source", videoTag).add(videoTag), video); + + // iPad (+others?) demands load() + if (conf.preload != 'none' || !support.zeropreload || !support.dataload) api.load(); + if (conf.splash) api.load(); + }, + + pause: function() { + api.pause(); + }, + + resume: function() { + api.play(); + }, + + speed: function(val) { + api.playbackRate = val; + }, + + seek: function(time) { + try { + api.currentTime = time; + } catch (ignored) {} + }, + + volume: function(level) { + api.volume = level; + }, + + unload: function() { + $("video", root).remove(); + if (!support.cachedVideoTag) videoTagCache = null; + timer = clearInterval(timer); + api = 0; + } + + }; + + function listen(api, sources, video) { + // listen only once + + if (api.listeners && api.listeners.hasOwnProperty(root.data('fp-player_id'))) return; + (api.listeners || (api.listeners = {}))[root.data('fp-player_id')] = true; + + sources.bind("error", function(e) { + try { + if (e.originalEvent && $(e.originalEvent.originalTarget).is('img')) return e.preventDefault(); + if (canPlay($(e.target).attr("type"))) { + player.trigger("error", { code: 4 }); + } + } catch (er) { + // Most likely: https://bugzilla.mozilla.org/show_bug.cgi?id=208427 + } + }); + + $.each(EVENTS, function(type, flow) { + + api.addEventListener(type, function(e) { + + // safari hack for bad URL (10s before fails) + if (flow == "progress" && e.srcElement && e.srcElement.readyState === 0) { + setTimeout(function() { + if (!player.video.duration) { + flow = "error"; + player.trigger(flow, { code: 4 }); + } + }, 10000); + } + + if (conf.debug && !/progress/.test(flow)) console.log(type, "->", flow, e); + + // no events if player not ready + if (!player.ready && !/ready|error/.test(flow) || !flow || !$("video", root).length) { return; } + + var event = $.Event(flow), arg; + + switch (flow) { + + case "ready": + + arg = $.extend(video, { + duration: api.duration, + width: api.videoWidth, + height: api.videoHeight, + url: api.currentSrc, + src: api.currentSrc + }); + + try { + arg.seekable = api.seekable && api.seekable.end(null); + + } catch (ignored) {} + + // buffer + timer = timer || setInterval(function() { + + try { + arg.buffer = api.buffered.end(null); + + } catch (ignored) {} + + if (arg.buffer) { + if (arg.buffer <= arg.duration && !arg.buffered) { + player.trigger("buffer", e); + + } else if (!arg.buffered) { + arg.buffered = true; + player.trigger("buffer", e).trigger("buffered", e); + clearInterval(timer); + timer = 0; + } + } + + }, 250); + + break; + + case "progress": case "seek": + + var dur = player.video.duration + + if (api.currentTime > 0) { + arg = Math.max(api.currentTime, 0); + if (dur && arg && arg >= dur) event.type = "finish"; + break; + + } else if (flow == 'progress') { + return; + } + + + case "speed": + arg = round(api.playbackRate); + break; + + case "volume": + arg = round(api.volume); + break; + + case "error": + try { + arg = (e.srcElement || e.originalTarget).error; + } catch (er) { + // Most likely https://bugzilla.mozilla.org/show_bug.cgi?id=208427 + return; + } + } + + player.trigger(event, arg); + + }, false); + + }); + + } + +}; +var TYPE_RE = /.(\w{3,4})$/i; + +function parseSource(el) { + + var src = el.attr("src"), + type = el.attr("type") || "", + suffix = src.split(TYPE_RE)[1]; + + type = /mpegurl/.test(type) ? "mpegurl" : type.replace("video/", ""); + + return { src: src, suffix: suffix || type, type: type || suffix }; +} + +/* Resolves video object from initial configuration and from load() method */ +function URLResolver(videoTag) { + + var self = this, + sources = []; + + // initial sources + $("source", videoTag).each(function() { + sources.push(parseSource($(this))); + }); + + if (!sources.length) sources.push(parseSource(videoTag)); + + self.initialSources = sources; + + self.resolve = function(video) { + if (!video) return { sources: sources }; + + if ($.isArray(video)) { + + video = { sources: $.map(video, function(el) { + var type; $.each(el, function(key, value) { type = key; }); + el.type = type; + el.src = el[type]; + delete el[type]; + return el; + })}; + + } else if (typeof video == 'string') { + + video = { src: video, sources: [] }; + + $.each(sources, function(i, source) { + if (source.type != 'flash') { + video.sources.push({ + type: source.type, + src: video.src.replace(TYPE_RE, "") + "." + source.suffix + }); + } + }); + } + + return video; + }; + +}; +/* A minimal jQuery Slider plugin with all goodies */ + +// skip IE policies +// document.ondragstart = function () { return false; }; + + +// execute function every <delay> ms +$.throttle = function(fn, delay) { + var locked; + + return function () { + if (!locked) { + fn.apply(this, arguments); + locked = 1; + setTimeout(function () { locked = 0; }, delay); + } + }; +}; + + +$.fn.slider2 = function() { + + var IS_IPAD = /iPad/.test(navigator.userAgent); + + return this.each(function() { + + var root = $(this), + doc = $(document), + progress = root.children(":last"), + disabled, + offset, + width, + height, + vertical, + size, + maxValue, + max, + + /* private */ + calc = function() { + offset = root.offset(); + width = root.width(); + height = root.height(); + + /* exit from fullscreen can mess this up.*/ + // vertical = height > width; + + size = vertical ? height : width; + max = toDelta(maxValue); + }, + + fire = function(value) { + if (!disabled && value != api.value && (!maxValue || value < maxValue)) { + root.trigger("slide", [ value ]); + api.value = value; + } + }, + + mousemove = function(e) { + var delta = vertical ? e.pageY - offset.top : e.pageX - offset.left; + delta = Math.max(0, Math.min(max || size, delta)); + + var value = delta / size; + if (vertical) value = 1 - value; + return move(value, 0, true); + }, + + move = function(value, speed) { + if (speed === undefined) { speed = 0; } + if (value > 1) value = 1; + + var to = (Math.round(value * 1000) / 10) + "%"; + + if (!maxValue || value <= maxValue) { + if (!IS_IPAD) progress.stop(); // stop() broken on iPad + progress.animate(vertical ? { height: to } : { width: to }, speed, "linear"); + } + + return value; + }, + + toDelta = function(value) { + return Math.max(0, Math.min(size, vertical ? (1 - value) * height : value * width)); + }, + + /* public */ + api = { + + max: function(value) { + maxValue = value; + }, + + disable: function(flag) { + disabled = flag; + }, + + slide: function(value, speed, fireEvent) { + calc(); + if (fireEvent) fire(value); + move(value, speed); + } + + }; + + calc(); + + // bound dragging into document + root.data("api", api).bind("mousedown.sld", function(e) { + + e.preventDefault(); + + if (!disabled) { + + // begin --> recalculate. allows dynamic resizing of the slider + var delayedFire = $.throttle(fire, 100); + calc(); + api.dragging = true; + fire(mousemove(e)); + + doc.bind("mousemove.sld", function(e) { + e.preventDefault(); + delayedFire(mousemove(e)); + + }).one("mouseup", function() { + api.dragging = false; + doc.unbind("mousemove.sld"); + }); + + } + + }); + + }); + +}; + +function zeropad(val) { + val = parseInt(val, 10); + return val >= 10 ? val : "0" + val; +} + +// display seconds in hh:mm:ss format +function format(sec) { + + sec = sec || 0; + + var h = Math.floor(sec / 3600), + min = Math.floor(sec / 60); + + sec = sec - (min * 60); + + if (h >= 1) { + min -= h * 60; + return h + ":" + zeropad(min) + ":" + zeropad(sec); + } + + return zeropad(min) + ":" + zeropad(sec); +} + +flowplayer(function(api, root) { + + var conf = api.conf, + support = flowplayer.support, + hovertimer; + + root.addClass("flowplayer").append('\ + <div class="ratio"/>\ + <div class="ui">\ + <div class="waiting"><em/><em/><em/></div>\ + <a class="fullscreen"/>\ + <a class="unload"/>\ + <p class="speed"/>\ + <div class="controls">\ + <a class="play"></a>\ + <div class="timeline">\ + <div class="buffer"/>\ + <div class="progress"/>\ + </div>\ + <div class="volume">\ + <a class="mute"></a>\ + <div class="volumeslider">\ + <div class="volumelevel"/>\ + </div>\ + </div>\ + </div>\ + <div class="time">\ + <em class="elapsed">00:00</em>\ + <em class="remaining"/>\ + <em class="duration">00:00</em>\ + </div>\ + <div class="message"><h2/><p/></div>\ + </div>'.replace(/class="/g, 'class="fp-') + ); + + function find(klass) { + return $(".fp-" + klass, root); + } + + // widgets + var progress = find("progress"), + buffer = find("buffer"), + elapsed = find("elapsed"), + remaining = find("remaining"), + waiting = find("waiting"), + ratio = find("ratio"), + speed = find("speed"), + durationEl = find("duration"), + origRatio = ratio.css("paddingTop"), + + // sliders + timeline = find("timeline").slider2(), + timelineApi = timeline.data("api"), + + volume = find("volume"), + fullscreen = find("fullscreen"), + volumeSlider = find("volumeslider").slider2(), + volumeApi = volumeSlider.data("api"), + noToggle = root.is(".fixed-controls, .no-toggle"); + + // aspect ratio + function setRatio(val) { + if (!parseInt(origRatio, 10)) ratio.css("paddingTop", val * 100 + "%"); + if (!support.inlineBlock) $("object", root).height(root.height()); + } + + function hover(flag) { + root.toggleClass("is-mouseover", flag).toggleClass("is-mouseout", !flag); + } + + // loading... + if (!support.animation) waiting.html("<p>loading …</p>"); + + setRatio(conf.ratio); + + // no fullscreen in IFRAME + try { + if (!conf.fullscreen) fullscreen.remove(); + + } catch (e) { + fullscreen.remove(); + } + + + api.bind("ready", function() { + + var duration = api.video.duration; + + timelineApi.disable(!duration); + + setRatio(api.video.videoHeight / api.video.videoWidth); + + // initial time & volume + durationEl.add(remaining).html(format(duration)); + + // do we need additional space for showing hour + ((duration >= 3600) && root.addClass('is-long')) || root.removeClass('is-long'); + volumeApi.slide(api.volumeLevel); + + + }).bind("unload", function() { + if (!origRatio) ratio.css("paddingTop", ""); + + // buffer + }).bind("buffer", function() { + var video = api.video, + max = video.buffer / video.duration; + + if (!video.seekable) timelineApi.max(max); + if (max < 1) buffer.css("width", (max * 100) + "%"); + else buffer.css({ width: '100%' }); + + }).bind("speed", function(e, api, val) { + speed.text(val + "x").addClass("fp-hilite"); + setTimeout(function() { speed.removeClass("fp-hilite") }, 1000); + + }).bind("buffered", function() { + buffer.css({ width: '100%' }); + timelineApi.max(1); + + // progress + }).bind("progress", function() { + + var time = api.video.time, + duration = api.video.duration; + + if (!timelineApi.dragging) { + timelineApi.slide(time / duration, api.seeking ? 0 : 250); + } + + elapsed.html(format(time)); + remaining.html("-" + format(duration - time)); + + }).bind("finish resume seek", function(e) { + root.toggleClass("is-finished", e.type == "finish"); + + }).bind("stop", function() { + elapsed.html(format(0)); + timelineApi.slide(0, 100); + + }).bind("finish", function() { + elapsed.html(format(api.video.duration)); + timelineApi.slide(1, 100); + root.removeClass("is-seeking"); + + // misc + }).bind("beforeseek", function() { + progress.stop(); + + }).bind("volume", function() { + volumeApi.slide(api.volumeLevel); + + + }).bind("disable", function() { + var flag = api.disabled; + timelineApi.disable(flag); + volumeApi.disable(flag); + root.toggleClass("is-disabled", api.disabled); + + }).bind("mute", function(e, api, flag) { + root.toggleClass("is-muted", flag); + + }).bind("error", function(e, api, error) { + root.removeClass("is-loading").addClass("is-error"); + + if (error) { + error.message = conf.errors[error.code]; + api.error = true; + + var el = $(".fp-message", root); + $("h2", el).text(api.engine + ": " + error.message); + $("p", el).text(error.url || api.video.url || api.video.src || conf.errorUrls[error.code]); + root.unbind("mouseenter click").removeClass("is-mouseover"); + } + + + // hover + }).bind("mouseenter mouseleave", function(e) { + if (noToggle) return; + + var is_over = e.type == "mouseenter", + lastMove; + + // is-mouseover/out + hover(is_over); + + if (is_over) { + + root.bind("pause.x mousemove.x volume.x", function() { + hover(true); + lastMove = new Date; + }); + + hovertimer = setInterval(function() { + if (new Date - lastMove > 5000) { + hover(false) + lastMove = new Date; + } + }, 100); + + } else { + root.unbind(".x"); + clearInterval(hovertimer); + } + + + // allow dragging over the player edge + }).bind("mouseleave", function() { + + if (timelineApi.dragging || volumeApi.dragging) { + root.addClass("is-mouseover").removeClass("is-mouseout"); + } + + // click + }).bind("click.player", function(e) { + if ($(e.target).is(".fp-ui, .fp-engine") || e.flash) { + e.preventDefault(); + return api.toggle(); + } + }); + + // poster -> background image + if (conf.poster) root.css("backgroundImage", "url(" + conf.poster + ")"); + + var bc = root.css("backgroundColor"), + has_bg = root.css("backgroundImage") != "none" || bc && bc != "rgba(0, 0, 0, 0)" && bc != "transparent"; + + // is-poster class + if (has_bg && !conf.splash && !conf.autoplay) { + + api.bind("ready stop", function() { + root.addClass("is-poster").one("ready progress", function() { + root.removeClass("is-poster"); + }); + }); + + } + + // default background color if not present + if (!has_bg && !support.firstframe) { + root.css("backgroundColor", "#555"); + } + + $(".fp-toggle, .fp-play", root).click(api.toggle); + + /* controlbar elements */ + $.each(['mute', 'fullscreen', 'unload'], function(i, key) { + find(key).click(function() { + api[key](); + }); + }); + + timeline.bind("slide", function(e, val) { + api.seeking = true; + api.seek(val * api.video.duration); + }); + + volumeSlider.bind("slide", function(e, val) { + api.volume(val); + }); + + // times + find("time").click(function(e) { + $(this).toggleClass("is-inverted"); + }); + + hover(noToggle); + +}); + +var focused, + focusedRoot, + IS_HELP = "is-help"; + + // keyboard. single global listener +$(document).bind("keydown.fp", function(e) { + + var el = focused, + metaKeyPressed = e.ctrlKey || e.metaKey || e.altKey, + key = e.which, + conf = el && el.conf; + + if (!el || !conf.keyboard || el.disabled) return; + + // help dialog (shift key not truly required) + if ($.inArray(key, [63, 187, 191, 219]) != -1) { + focusedRoot.toggleClass(IS_HELP); + return false; + } + + // close help / unload + if (key == 27 && focusedRoot.hasClass(IS_HELP)) { + focusedRoot.toggleClass(IS_HELP); + return false; + } + + if (!metaKeyPressed && el.ready) { + + e.preventDefault(); + + // slow motion / fast forward + if (e.shiftKey) { + if (key == 39) el.speed(true); + else if (key == 37) el.speed(false); + return; + } + + // 1, 2, 3, 4 .. + if (key < 58 && key > 47) return el.seekTo(key - 48); + + switch (key) { + case 38: case 75: el.volume(el.volumeLevel + 0.15); break; // volume up + case 40: case 74: el.volume(el.volumeLevel - 0.15); break; // volume down + case 39: case 76: el.seeking = true; el.seek(true); break; // forward + case 37: case 72: el.seeking = true; el.seek(false); break; // backward + case 190: el.seekTo(); break; // to last seek position + case 32: el.toggle(); break; // spacebar + case 70: conf.fullscreen && el.fullscreen(); break; // toggle fullscreen + case 77: el.mute(); break; // mute + case 27: el[el.isFullscreen ? "fullscreen" : "unload"](); break; // esc + } + + } + +}); + +flowplayer(function(api, root) { + + // no keyboard configured + if (!api.conf.keyboard) return; + + // hover + root.bind("mouseenter mouseleave", function(e) { + focused = !api.disabled && e.type == 'mouseenter' ? api : 0; + if (focused) focusedRoot = root; + }); + + // TODO: add to player-layout.html + root.append('\ + <div class="fp-help">\ + <a class="fp-close"></a>\ + <div class="fp-help-section fp-help-basics">\ + <p><em>space</em>play / pause</p>\ + <p><em>esc</em>stop</p>\ + <p><em>f</em>fullscreen</p>\ + <p><em>shift</em> + <em>←</em><em>→</em>slower / faster <small>(latest Chrome and Safari)</small></p>\ + </div>\ + <div class="fp-help-section">\ + <p><em>↑</em><em>↓</em>volume</p>\ + <p><em>m</em>mute</p>\ + </div>\ + <div class="fp-help-section">\ + <p><em>←</em><em>→</em>seek</p>\ + <p><em> . </em>seek to previous\ + </p><p><em>1</em><em>2</em>…<em>6</em> seek to 10%, 20%, …60% </p>\ + </div>\ + </div>\ + '); + + if (api.conf.tooltip) { + $(".fp-ui", root).attr("title", "Hit ? for help").on("mouseout.tip", function() { + $(this).removeAttr("title").off("mouseout.tip"); + }); + } + + $(".fp-close", root).click(function() { + root.toggleClass(IS_HELP); + }); + +}); + +var VENDOR = $.browser.mozilla ? "moz": "webkit", + FS_ENTER = "fullscreen", + FS_EXIT = "fullscreen-exit", + FULL_PLAYER, + FS_SUPPORT = flowplayer.support.fullscreen; + + +// esc button +$(document).bind(VENDOR + "fullscreenchange", function(e) { + var el = $(document.webkitCurrentFullScreenElement || document.mozFullScreenElement); + + if (el.length) { + FULL_PLAYER = el.trigger(FS_ENTER, [el]); + } else { + FULL_PLAYER.trigger(FS_EXIT, [FULL_PLAYER]); + } + +}); + + +flowplayer(function(player, root) { + + if (!player.conf.fullscreen) return; + + var win = $(window), + fsSeek = {pos: 0, play: false}, + scrollTop; + + player.isFullscreen = false; + + player.fullscreen = function(flag) { + + if (player.disabled) return; + + if (flag === undefined) flag = !player.isFullscreen; + + if (flag) scrollTop = win.scrollTop(); + + if (FS_SUPPORT) { + + if (flag) { + root[0][VENDOR + 'RequestFullScreen']( + flowplayer.support.fullscreen_keyboard ? Element.ALLOW_KEYBOARD_INPUT : undefined + ); + + } else { + document[VENDOR + 'CancelFullScreen'](); + } + + } else { + if (player.engine === "flash" && player.conf.rtmp) + fsSeek = {pos: player.video.time, play: player.playing}; + player.trigger(flag ? FS_ENTER : FS_EXIT, [player]) + } + + return player; + }; + + var lastClick; + + root.bind("mousedown.fs", function() { + if (+new Date - lastClick < 150 && player.ready) player.fullscreen(); + lastClick = +new Date; + }); + + player.bind(FS_ENTER, function(e) { + root.addClass("is-fullscreen"); + player.isFullscreen = true; + + }).bind(FS_EXIT, function(e) { + root.removeClass("is-fullscreen"); + player.isFullscreen = false; + win.scrollTop(scrollTop); + + }).bind("ready", function () { + if (fsSeek.pos && !isNaN(fsSeek.pos)) { + setTimeout(function () { + player.play(); // avoid hang in buffering state + player.seek(fsSeek.pos); + if (!fsSeek.play) { + setTimeout(function () { + player.pause(); + }, 100); + } + fsSeek = {pos: 0, play: false}; + }, 250); + } + }); + +}); + + +flowplayer(function(player, root) { + + var conf = $.extend({ active: 'is-active', advance: true, query: ".fp-playlist a" }, player.conf), + klass = conf.active; + + // getters + function els() { + return $(conf.query, root); + } + + function active() { + return $(conf.query + "." + klass, root); + } + + + player.play = function(i) { + if (i === undefined) player.resume(); + else if (typeof i != 'number') player.load.apply(null, arguments); + else els().eq(i).click(); + return player; + }; + + + if (els().length) { + + /* click -> play */ + root.on("click", conf.query, function(e) { + var el = $(e.target).closest(conf.query); + el.is("." + klass) ? player.toggle() : player.load(el.attr("href")); + e.preventDefault(); + }); + + // disable single clip looping + player.conf.loop = false; + + // playlist wide cuepoint support + var has_cuepoints = els().filter("[data-cuepoints]").length; + + // highlight + player.bind("load", function(e, api, video) { + + // active + var prev = active().removeClass(klass), + el = $("a[href*='" + video.src.replace(TYPE_RE, "") + ".']", root).addClass(klass), + clips = els(), + index = clips.index(el), + is_last = index == clips.length - 1; + + // index + root.removeClass("video" + clips.index(prev)).addClass("video" + index).toggleClass("last-video", is_last); + + // video properties + video.index = index; + video.is_last = is_last; + + // cuepoints + if (has_cuepoints) player.cuepoints = el.data("cuepoints"); + + + // without namespace callback called only once. unknown rason. + }).bind("unload.pl", function() { + active().toggleClass(klass); + + }); + + // api.next() / api.prev() + $.each(['next', 'prev'], function(i, key) { + + player[key] = function(e) { + e && e.preventDefault(); + + // next (or previous) entry + var el = active()[key](); + + // cycle + if (!el.length) el = els().filter(key == 'next' ? ':first' : ':last');; + + el.click(); + }; + + $(".fp-" + key, root).click(player[key]); + }); + + if (conf.advance) { + root.unbind("finish.pl").bind("finish.pl", function() { + + // next clip is found or loop + if (active().next().length || conf.loop) { + player.next(); + + // stop to last clip, play button starts from 1:st clip + } else { + root.addClass("is-playing"); // show play button + + player.one("resume", function() { + player.next(); + return false; + }); + } + }); + } + + } + + +}); + +var CUE_RE = / ?cue\d+ ?/; + +flowplayer(function(player, root) { + + var lastTime = 0; + + player.cuepoints = player.conf.cuepoints || []; + + function setClass(index) { + root[0].className = root[0].className.replace(CUE_RE, " "); + if (index >= 0) root.addClass("cue" + index); + } + + player.bind("progress", function(e, api, time) { + + // avoid throwing multiple times + if (lastTime && time - lastTime < 0.015) return lastTime = time; + lastTime = time; + + var cues = player.cuepoints || []; + + for (var i = 0, cue; i < cues.length; i++) { + + cue = cues[i]; + if (1 * cue) cue = { time: cue } + if (cue.time < 0) cue.time = player.video.duration + cue.time; + cue.index = i; + + // progress_interval / 2 = 0.125 + if (Math.abs(cue.time - time) < 0.125 * player.currentSpeed) { + setClass(i); + root.trigger("cuepoint", [player, cue]); + } + + } + + // no CSS class name + }).bind("unload seek", setClass); + + if (player.conf.generate_cuepoints) { + + player.bind("ready", function() { + + var cues = player.cuepoints || [], + duration = player.video.duration, + timeline = $(".fp-timeline", root).css("overflow", "visible"); + + $.each(cues, function(i, cue) { + + var time = cue.time || cue; + if (time < 0) time = duration + cue; + + var el = $("<a/>").addClass("fp-cuepoint fp-cuepoint" + i) + .css("left", (time / duration * 100) + "%"); + + el.appendTo(timeline).mousedown(function() { + player.seek(time); + + // preventDefault() doesn't work + return false; + }); + + }); + + }); + + } + +}); +flowplayer(function(player, root, engine) { + + var track = $("track", root), + conf = player.conf; + + if (flowplayer.support.subtitles) { + + player.subtitles = track.length && track[0].track; + + // use native when supported + if (conf.nativesubtitles && conf.engine == 'html5') return; + } + + // avoid duplicate loads + track.remove(); + + var TIMECODE_RE = /^(([0-9]{2}:)?[0-9]{2}:[0-9]{2}[,.]{1}[0-9]{3}) --\> (([0-9]{2}:)?[0-9]{2}:[0-9]{2}[,.]{1}[0-9]{3})(.*)/; + + function seconds(timecode) { + var els = timecode.split(':'); + if (els.length == 2) els.unshift(0); + return els[0] * 60 * 60 + els[1] * 60 + parseFloat(els[2].replace(',','.')); + } + + player.subtitles = []; + + var url = track.attr("src"); + + if (!url) return; + + $.get(url, function(txt) { + + for (var i = 0, lines = txt.split("\n"), len = lines.length, entry = {}, title, timecode, text, cue; i < len; i++) { + + timecode = TIMECODE_RE.exec(lines[i]); + + if (timecode) { + + // title + title = lines[i - 1]; + + // text + text = "<p>" + lines[++i] + "</p><br/>"; + while ($.trim(lines[++i]) && i < lines.length) text += "<p>" + lines[i] + "</p><br/>"; + + // entry + entry = { + title: title, + startTime: seconds(timecode[1]), + endTime: seconds(timecode[2] || timecode[3]), + text: text + }; + + cue = { time: entry.startTime, subtitle: entry }; + + player.subtitles.push(entry); + player.cuepoints.push(cue); + player.cuepoints.push({ time: entry.endTime, subtitleEnd: title }); + + // initial cuepoint + if (entry.startTime === 0) { + player.trigger("cuepoint", cue); + } + + } + + } + + }).fail(function() { + player.trigger("error", {code: 8, url: url }); + return false; + }); + + var wrap = $("<div class='fp-subtitle'/>", root).appendTo(root), + currentPoint; + + player.bind("cuepoint", function(e, api, cue) { + + if (cue.subtitle) { + currentPoint = cue.index; + wrap.html(cue.subtitle.text).addClass("fp-active"); + + } else if (cue.subtitleEnd) { + wrap.removeClass("fp-active"); + } + + }).bind("seek", function(e, api, time) { + + $.each(player.cuepoints || [], function(i, cue) { + var entry = cue.subtitle; + + if (entry && currentPoint != cue.index) { + if (time >= cue.time && time <= entry.endTime) player.trigger("cuepoint", cue); + else wrap.removeClass("fp-active"); + } + + }); + + }); + +}); + + + +flowplayer(function(player, root) { + + var id = player.conf.analytics, time = 0, last = 0; + + if (id) { + + // load Analytics script if needed + if (typeof _gat == 'undefined') $.getScript("http://www.google-analytics.com/ga.js"); + + function track(e) { + + if (time && typeof _gat != 'undefined') { + var tracker = _gat._getTracker(id), + video = player.video; + + tracker._setAllowLinker(true); + + // http://code.google.com/apis/analytics/docs/tracking/eventTrackerGuide.html + tracker._trackEvent( + "Video / Seconds played", + player.engine + "/" + video.type, + root.attr("title") || video.src.split("/").slice(-1)[0].replace(TYPE_RE, ''), + Math.round(time / 1000) + ); + time = 0; + } + + } + + player.bind("load unload", track).bind("progress", function() { + + if (!player.seeking) { + time += last ? (+new Date - last) : 0; + last = +new Date; + } + + }).bind("pause", function() { + last = 0; + }); + + $(window).unload(track); + + } + +}); +if (flowplayer.support.touch) { + + flowplayer(function(player, root) { + var isAndroid = /Android/.test(UA), + isSilk = /Silk/.test(UA); + + // hide volume + if (!flowplayer.support.volume) { + root.addClass("no-volume no-mute"); + } + + // fake mouseover effect with click + root.one("touchstart", function() { + isAndroid && player.toggle(); + + }).bind("touchstart", function(e) { + + if (player.playing && !root.hasClass("is-mouseover")) { + root.addClass("is-mouseover").removeClass("is-mouseout"); + return false; + } + + if (player.paused && root.hasClass("is-mouseout")) { + player.toggle(); + } + + }); + + // native fullscreen + if (player.conf.native_fullscreen && $.browser.webkit) { + player.fullscreen = function() { + $('video', root)[0].webkitEnterFullScreen(); + } + } + + + // Android browser gives video.duration == 1 until second 'timeupdate' event + (isAndroid || isSilk) && player.bind("ready", function() { + + var video = $('video', root); + video.one('canplay', function() { + video[0].play(); + }); + video[0].play(); + + player.bind("progress.dur", function() { + + var duration = video[0].duration; + + if (duration !== 1) { + player.video.duration = duration; + $(".fp-duration", root).html(format(duration)); + player.unbind("progress.dur"); + } + }); + }); + + + }); + +} + +flowplayer(function(player, root) { + + // no embedding + if (player.conf.embed === false) return; + + var conf = player.conf, + ui = $(".fp-ui", root), + trigger = $("<a/>", { "class": "fp-embed", title: 'Copy to your site'}).appendTo(ui), + target = $("<div/>", { 'class': 'fp-embed-code'}) + .append("<label>Paste this HTML code on your site to embed.</label><textarea/>").appendTo(ui), + area = $("textarea", target); + + player.embedCode = function() { + + var video = player.video, + width = video.width || root.width(), + height = video.height || root.height(), + el = $("<div/>", { 'class': 'flowplayer', css: { width: width, height: height }}), + tag = $("<video/>").appendTo(el); + + // configuration + $.each(['origin', 'analytics', 'logo', 'key', 'rtmp'], function(i, key) { + if (conf[key]) el.attr("data-" + key, conf[key]); + }); + + // sources + $.each(video.sources, function(i, src) { + tag.append($("<source/>", { type: "video/" + src.type, src: src.src })); + }); + + var code = $("<foo/>", { src: "http://embed.flowplayer.org/5.3.2/embed.min.js" }).append(el); + return $("<p/>").append(code).html().replace(/<(\/?)foo/g, "<$1script"); + }; + + root.fptip(".fp-embed", "is-embedding"); + + area.click(function() { + this.select(); + }); + + trigger.click(function() { + area.text(player.embedCode()); + area[0].focus(); + area[0].select(); + }); + +}); + + +$.fn.fptip = function(trigger, active) { + + return this.each(function() { + + var root = $(this); + + function close() { + root.removeClass(active); + $(document).unbind(".st"); + } + + $(trigger || "a", this).click(function(e) { + + e.preventDefault(); + + root.toggleClass(active); + + if (root.hasClass(active)) { + + $(document).bind("keydown.st", function(e) { + if (e.which == 27) close(); + + // click:close + }).bind("click.st", function(e) { + if (!$(e.target).parents("." + active).length) close(); + }); + } + + }); + + }); + +}; + +}(jQuery); +flowplayer(function(a,b){function j(a){var b=c("<a/>")[0];return b.href=a,b.hostname}var c=jQuery,d=a.conf,e=d.swf.indexOf("flowplayer.org")&&d.e&&d.origin,f=e?j(e):location.hostname,g=d.key;location.protocol=="file:"&&(f="localhost"),a.load.ed=1,d.hostname=f,d.origin=e||location.href,e&&b.addClass("is-embedded"),typeof g=="string"&&(g=g.split(/,\s*/));if(g&&typeof key_check=="function"&&key_check(g,f))d.logo&&b.append(c("<a>",{"class":"fp-logo",href:e,target:"_top"}).append(c("<img/>",{src:d.logo})));else{var h=c("<a/>",{href:"http://flowplayer.org",target:"_top"}).appendTo(b),i=c(".fp-controls",b);a.bind("pause resume finish unload",function(b){/pause|resume/.test(b.type)&&a.engine!="flash"?(h.show().css({position:"absolute",left:16,bottom:36,zIndex:99999,width:100,height:20,backgroundImage:"url("+[".png","logo","/",".org",".flowplayer","stream","//"].reverse().join("")+")"}),a.load.ed=h.is(":visible")):h.hide()})}}); \ No newline at end of file diff --git a/wp-content/plugins/ai-embed/flowplayer/flowplayer.min.js b/wp-content/plugins/ai-embed/flowplayer/flowplayer.min.js new file mode 100644 index 0000000000000000000000000000000000000000..1ba19163c5a7528eb1d6c7e1d4b87f2e9c8e2ecb --- /dev/null +++ b/wp-content/plugins/ai-embed/flowplayer/flowplayer.min.js @@ -0,0 +1,5 @@ +/*! + + Flowplayer v5.3.2 (Monday, 28. January 2013 10:02AM) | flowplayer.org/license + +*/!function(e){function o(t,n){var r="obj"+(""+Math.random()).slice(2,15),i='<object class="fp-engine" id="'+r+'" name="'+r+'" ';i+=e.browser.msie?'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">':' data="'+t+'" type="application/x-shockwave-flash">';var s={width:"100%",height:"100%",allowscriptaccess:"always",wmode:"transparent",quality:"high",flashvars:"",movie:t+(e.browser.msie?"?"+r:""),name:r};return e.each(n,function(e,t){s.flashvars+=e+"="+t+"&"}),e.each(s,function(e,t){i+='<param name="'+e+'" value="'+t+'"/>'}),i+="</object>",e(i)}function f(e){return Math.round(e*100)/100}function l(e){return/mpegurl/i.test(e)?"application/x-mpegurl":"video/"+e}function c(e){return/^(video|application)/.test(e)||(e=l(e)),!!u.canPlayType(e).replace("no","")}function v(e){var t=e.attr("src"),n=e.attr("type")||"",r=t.split(d)[1];return n=/mpegurl/.test(n)?"mpegurl":n.replace("video/",""),{src:t,suffix:r||n,type:n||r}}function m(t){var n=this,r=[];e("source",t).each(function(){r.push(v(e(this)))}),r.length||r.push(v(t)),n.initialSources=r,n.resolve=function(t){return t?(e.isArray(t)?t={sources:e.map(t,function(t){var n;return e.each(t,function(e,t){n=e}),t.type=n,t.src=t[n],delete t[n],t})}:typeof t=="string"&&(t={src:t,sources:[]},e.each(r,function(e,n){n.type!="flash"&&t.sources.push({type:n.type,src:t.src.replace(d,"")+"."+n.suffix})})),t):{sources:r}}}function g(e){return e=parseInt(e,10),e>=10?e:"0"+e}function y(e){e=e||0;var t=Math.floor(e/3600),n=Math.floor(e/60);return e-=n*60,t>=1?(n-=t*60,t+":"+g(n)+":"+g(e)):g(n)+":"+g(e)}!function(e){if(!e.browser){var t=e.browser={},n=navigator.userAgent.toLowerCase(),r=/(chrome)[ \/]([\w.]+)/.exec(n)||/(webkit)[ \/]([\w.]+)/.exec(n)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(n)||/(msie) ([\w.]+)/.exec(n)||n.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(n)||[];r[1]&&(t[r[1]]=!0,t.version=r[2]||"0")}}(jQuery),e(function(){typeof e.fn.flowplayer=="function"&&e("video").parent(".flowplayer").flowplayer()});var t=[],n=[],r=navigator.userAgent,i=/Android/.test(r)&&/Firefox/.test(r);window.flowplayer=function(r){return i?0:e.isFunction(r)?n.push(r):typeof r=="number"||r===undefined?t[r||0]:e(r).data("flowplayer")},e.extend(flowplayer,{version:"5.3.2",engine:{},conf:{},support:{},defaults:{debug:!1,disabled:!1,engine:"html5",fullscreen:window==window.top,keyboard:!0,ratio:9/16,flashfit:!1,rtmp:0,splash:!1,swf:"http://releases.flowplayer.org/5.3.2/flowplayer.swf",speeds:[.25,.5,1,1.5,2],tooltip:!0,volume:1,errors:["","Video loading aborted","Network error","Video not properly encoded","Video file not found","Unsupported video","Skin not found","SWF file not found","Subtitles not found","Invalid RTMP URL","Unsupported video format. Try installing Adobe Flash."],errorUrls:["","","","","","","","","","","http://get.adobe.com/flashplayer/"]}});if(i)return e(function(){e("video").attr("controls","controls")});var s=0;e.fn.flowplayer=function(r,i){return typeof r=="string"&&(r={swf:r}),e.isFunction(r)&&(i=r,r={}),!r&&this.data("flowplayer")||this.each(function(){var o=e(this).addClass("is-loading"),u=e.extend({},flowplayer.defaults,flowplayer.conf,r,o.data()),a=e("video",o).addClass("fp-engine").removeAttr("controls"),f=new m(a),l={},c,h;o.data("fp-player_id",o.data("fp-player_id")||s++);try{l=window.localStorage||l}catch(p){}var d={conf:u,currentSpeed:1,volumeLevel:l.volume*1||u.volume,video:{},disabled:!1,finished:!1,loading:!1,muted:l.muted=="true"||u.muted,paused:!1,playing:!1,ready:!1,splash:!1,load:function(t,n){if(d.error||d.loading||d.disabled)return;t=f.resolve(t),e.extend(t,h.pick(t.sources));if(t.src){var r=e.Event("load");o.trigger(r,[d,t,h]),r.isDefaultPrevented()||(h.load(t),e.isFunction(t)&&(n=t),n&&o.one("ready",n))}return d},pause:function(e){return d.ready&&!d.seeking&&!d.disabled&&!d.loading&&(h.pause(),d.one("pause",e)),d},resume:function(){return d.ready&&d.paused&&!d.disabled&&(h.resume(),d.finished&&(d.trigger("resume"),d.finished=!1)),d},toggle:function(){return d.ready?d.paused?d.resume():d.pause():d.load()},seek:function(t,n){if(d.ready){if(typeof t=="boolean"){var r=d.video.duration*.1;t=d.video.time+(t?r:-r)}t=c=Math.min(Math.max(t,0),d.video.duration),h.seek(t),e.isFunction(n)&&o.one("seek",n)}return d},seekTo:function(e,t){var n=e===undefined?c:d.video.duration*.1*e;return d.seek(n,t)},mute:function(e){e==undefined&&(e=!d.muted),l.muted=d.muted=e,d.volume(e?0:l.volume),d.trigger("mute",e)},volume:function(e){return d.ready&&(e=Math.min(Math.max(e,0),1),l.volume=e,h.volume(e)),d},speed:function(t,n){return d.ready&&(typeof t=="boolean"&&(t=u.speeds[e.inArray(d.currentSpeed,u.speeds)+(t?1:-1)]||d.currentSpeed),h.speed(t),n&&o.one("speed",n)),d},stop:function(){return d.ready&&(d.pause(),d.seek(0,function(){o.trigger("stop")})),d},unload:function(){return o.hasClass("is-embedding")||(u.splash?(d.trigger("unload"),h.unload()):d.stop()),d},disable:function(e){e===undefined&&(e=!d.disabled),e!=d.disabled&&(d.disabled=e,d.trigger("disable",e))}};e.each(["bind","one","unbind"],function(e,t){d[t]=function(e,n){return o[t](e,n),d}}),d.trigger=function(e,t){return o.trigger(e,[d,t]),d},o.bind("boot",function(){e.each(["autoplay","loop","preload","poster"],function(e,t){var n=a.attr(t);n!==undefined&&(u[t]=n?n:!0)});if(u.splash||o.hasClass("is-splash")||!flowplayer.support.firstframe)d.splash=u.splash=u.autoplay=!0,o.addClass("is-splash"),a.attr("preload","none");e.each(n,function(e){this(d,o)}),h=flowplayer.engine[u.engine],h&&(h=h(d,o)),h.pick(f.initialSources)?d.engine=u.engine:e.each(flowplayer.engine,function(e,t){if(e!=u.engine)return h=this(d,o),h.pick(f.initialSources)&&(d.engine=e),!1});if(!d.engine)return d.trigger("error",{code:flowplayer.support.flash?5:10});u.splash?d.unload():d.load(),u.disabled&&d.disable(),o.one("ready",i),t.push(d)}).bind("load",function(t,n,r){u.splash&&e(".flowplayer").filter(".is-ready, .is-loading").not(o).each(function(){var t=e(this).data("flowplayer");t.conf.splash&&t.unload()}),o.addClass("is-loading"),n.loading=!0}).bind("ready",function(e,t,n){function r(){o.removeClass("is-loading"),t.loading=!1}n.time=0,t.video=n,u.splash?o.one("progress",r):r(),t.muted?t.mute(!0):t.volume(t.volumeLevel)}).bind("unload",function(e){u.splash&&a.remove(),o.removeClass("is-loading"),d.loading=!1}).bind("ready unload",function(e){var t=e.type=="ready";o.toggleClass("is-splash",!t).toggleClass("is-ready",t),d.ready=t,d.splash=!t}).bind("progress",function(e,t,n){t.video.time=n}).bind("speed",function(e,t,n){t.currentSpeed=n}).bind("volume",function(e,t,n){t.volumeLevel=Math.round(n*100)/100,t.muted?n&&t.mute(!1):l.volume=n}).bind("beforeseek seek",function(e){d.seeking=e.type=="beforeseek",o.toggleClass("is-seeking",d.seeking)}).bind("ready pause resume unload finish stop",function(e,t,n){d.paused=/pause|finish|unload|stop/.test(e.type),e.type=="ready"&&n&&(d.paused=!n.duration||!u.autoplay&&(u.preload!="none"||d.engine=="flash")),d.playing=!d.paused,o.toggleClass("is-paused",d.paused).toggleClass("is-playing",d.playing),d.load.ed||d.pause()}).bind("finish",function(e){d.finished=!0}).bind("error",function(){a.remove()}),o.trigger("boot",[d,o]).data("flowplayer",d)})},!function(){var t=flowplayer.support,n=e.browser,r=e("<video loop autoplay preload/>")[0],i=n.msie,s=navigator.userAgent,o=/iPad|MeeGo/.test(s),u=/iP(hone|od)/i.test(s),a=/Android/.test(s),f=/Silk/.test(s),l=o?parseFloat(/Version\/(\d\.\d)/.exec(s)[1],10):0;e.extend(t,{video:!!r.canPlayType,subtitles:!!r.addTextTrack,fullscreen:typeof document.webkitCancelFullScreen=="function"&&!/Mac OS X 10_5.+Version\/5\.0\.\d Safari/.test(s)||document.mozFullScreenEnabled,fullscreen_keyboard:!n.safari||n.version>"536",inlineBlock:!(i&&n.version<8),touch:"ontouchstart"in window,dataload:!o&&!u,zeropreload:!i&&!a,volume:!o&&!a&&!u&&!f,cachedVideoTag:!o&&!u,firstframe:!u&&!o&&!a&&!f});try{var c=i?(new ActiveXObject("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version"):navigator.plugins["Shockwave Flash"].description;c=c.split(/\D+/),c.length&&!c[0]&&(c=c.slice(1)),t.flashVideo=c[0]>9||c[0]==9&&c[3]>=115}catch(h){}t.animation=function(){var t=["","Webkit","Moz","O","ms","Khtml"],n=e("<p/>")[0];for(var r=0;r<t.length;r++)if(n.style[t[r]+"AnimationName"]!=="undefined")return!0}()}(),window.attachEvent&&window.attachEvent("onbeforeunload",function(){__flash_savedUnloadHandler=__flash_unloadHandler=function(){}}),flowplayer.engine.flash=function(t,n){var r=t.conf,i=t.video,s,u,a,f={pick:function(t){if(flowplayer.support.flashVideo){var n=e.grep(t,function(e){return e.type=="flash"})[0];if(n)return n;for(var r=0,i;r<t.length;r++){i=t[r];if(/mp4|flv/.test(i.type))return i}}},load:function(i){var f=e("video",n),l=i.src.replace(/&/g,"%26").replace(/&/g,"%26").replace(/=/g,"%3D"),c=/^https?:/.test(l);f.length>0&&flowplayer.support.video&&f[0].pause(),f.remove(),!c&&!r.rtmp&&(l=e("<a/>").attr("href",l)[0].href);if(a)a.__play(l);else{s="fp"+(""+Math.random()).slice(3,15);var h={hostname:r.embedded?r.hostname:location.hostname,url:l,callback:"jQuery."+s};c&&delete r.rtmp,e.each(["key","autoplay","preload","rtmp","loop","debug"],function(e,t){r[t]&&(h[t]=r[t])}),u=o(r.swf,h),u.prependTo(n),a=u[0],setTimeout(function(){try{if(!a.PercentLoaded())return n.trigger("error",[t,{code:7,url:r.swf}])}catch(e){}},5e3),e[s]=function(n,s){r.debug&&n!="status"&&console.log("--",n,s);var o=e.Event(n);switch(n){case"ready":s=e.extend(i,s);break;case"click":o.flash=!0;break;case"keydown":o.which=s;break;case"seek":i.time=s;break;case"buffered":i.buffered=!0;break;case"status":t.trigger("progress",s.time),s.buffer<=i.bytes&&!i.buffered?(i.buffer=s.buffer/i.bytes*i.duration,t.trigger("buffer",i.buffer)):i.buffered&&t.trigger("buffered")}setTimeout(function(){t.trigger(o,s)},1)}}},speed:e.noop,unload:function(){a&&a.__unload&&a.__unload(),delete e[s],e("object",n).remove(),a=0}};e.each("pause,resume,seek,volume".split(","),function(e,n){f[n]=function(e){t.ready&&(n=="seek"&&t.video.time&&!t.paused&&t.trigger("beforeseek"),e===undefined?a["__"+n]():a["__"+n](e))}});var l=e(window),c=n.height(),h=n.width();return t.bind("ready fullscreen fullscreen-exit",function(r){if(t.conf.flashfit||/full/.test(r.type)){var i=t.isFullscreen,s=i&&C,o=!flowplayer.support.inlineBlock,u=i?s?screen.availWidth:l.width():h,a=i?s?screen.availHeight:l.height():c,f=s?screen.width-screen.availWidth:0,p=s?screen.height-screen.availHeight:0,d=o?h:"",v=o?c:"",m,g;if(t.conf.flashfit||r.type==="fullscreen")m=t.video.width/t.video.height,g=t.video.height/t.video.width,v=Math.max(g*u),d=Math.max(m*a),v=v>a?d*g:v,v=Math.min(Math.round(v),a),d=d>u?v*m:d,d=Math.min(Math.round(d),u),p=Math.max(Math.round((a+p-v)/2),0),f=Math.max(Math.round((u+f-d)/2),0);e("object",n).css({width:d,height:v,marginTop:p,marginLeft:f})}}),f};var u=e("<video/>")[0],a={ended:"finish",pause:"pause",play:"resume",progress:"buffer",timeupdate:"progress",volumechange:"volume",ratechange:"speed",seeking:"beforeseek",seeked:"seek",loadeddata:"ready",error:"error",dataunavailable:"error"},h,p=function(t){return h?h.attr({type:l(t.type),src:t.src}):h=e("<video/>",{src:t.src,type:l(t.type),"class":"fp-engine",autoplay:"autoplay",preload:"none"})};flowplayer.engine.html5=function(t,n){function v(r,i,s){if(r.listeners&&r.listeners.hasOwnProperty(n.data("fp-player_id")))return;(r.listeners||(r.listeners={}))[n.data("fp-player_id")]=!0,i.bind("error",function(n){try{if(n.originalEvent&&e(n.originalEvent.originalTarget).is("img"))return n.preventDefault();c(e(n.target).attr("type"))&&t.trigger("error",{code:4})}catch(r){}}),e.each(a,function(i,u){r.addEventListener(i,function(a){u=="progress"&&a.srcElement&&a.srcElement.readyState===0&&setTimeout(function(){t.video.duration||(u="error",t.trigger(u,{code:4}))},1e4),o.debug&&!/progress/.test(u)&&console.log(i,"->",u,a);if(!t.ready&&!/ready|error/.test(u)||!u||!e("video",n).length)return;var c=e.Event(u),h;switch(u){case"ready":h=e.extend(s,{duration:r.duration,width:r.videoWidth,height:r.videoHeight,url:r.currentSrc,src:r.currentSrc});try{h.seekable=r.seekable&&r.seekable.end(null)}catch(p){}l=l||setInterval(function(){try{h.buffer=r.buffered.end(null)}catch(e){}h.buffer&&(h.buffer<=h.duration&&!h.buffered?t.trigger("buffer",a):h.buffered||(h.buffered=!0,t.trigger("buffer",a).trigger("buffered",a),clearInterval(l),l=0))},250);break;case"progress":case"seek":var d=t.video.duration;if(r.currentTime>0){h=Math.max(r.currentTime,0),d&&h&&h>=d&&(c.type="finish");break}if(u=="progress")return;case"speed":h=f(r.playbackRate);break;case"volume":h=f(r.volume);break;case"error":try{h=(a.srcElement||a.originalTarget).error}catch(v){return}}t.trigger(c,h)},!1)})}var r=e("video",n),i=flowplayer.support,s=e("track",r),o=t.conf,u,l,d;return u={pick:function(e){if(i.video)for(var t=0,n;t<e.length;t++)if(c(e[t].type))return e[t]},load:function(u){if(o.splash&&!d)r=p(u).prependTo(n),s.length&&r.append(s.attr("default","")),o.loop&&r.attr("loop","loop"),d=r[0];else{d=r[0];if(t.video.src&&u.src!=t.video.src)r.attr("autoplay","autoplay"),d.src=u.src;else if(o.preload=="none"||!i.dataload)i.zeropreload?t.trigger("ready",u).trigger("pause").one("ready",function(){n.trigger("resume")}):t.one("ready",function(){n.trigger("pause")})}v(d,e("source",r).add(r),u),(o.preload!="none"||!i.zeropreload||!i.dataload)&&d.load(),o.splash&&d.load()},pause:function(){d.pause()},resume:function(){d.play()},speed:function(e){d.playbackRate=e},seek:function(e){try{d.currentTime=e}catch(t){}},volume:function(e){d.volume=e},unload:function(){e("video",n).remove(),i.cachedVideoTag||(h=null),l=clearInterval(l),d=0}}};var d=/.(\w{3,4})$/i;e.throttle=function(e,t){var n;return function(){n||(e.apply(this,arguments),n=1,setTimeout(function(){n=0},t))}},e.fn.slider2=function(){var t=/iPad/.test(navigator.userAgent);return this.each(function(){var n=e(this),r=e(document),i=n.children(":last"),s,o,u,a,f,l,c,h,p=function(){o=n.offset(),u=n.width(),a=n.height(),l=f?a:u,h=g(c)},d=function(e){!s&&e!=y.value&&(!c||e<c)&&(n.trigger("slide",[e]),y.value=e)},v=function(e){var t=f?e.pageY-o.top:e.pageX-o.left;t=Math.max(0,Math.min(h||l,t));var n=t/l;return f&&(n=1-n),m(n,0,!0)},m=function(e,n){n===undefined&&(n=0),e>1&&(e=1);var r=Math.round(e*1e3)/10+"%";if(!c||e<=c)t||i.stop(),i.animate(f?{height:r}:{width:r},n,"linear");return e},g=function(e){return Math.max(0,Math.min(l,f?(1-e)*a:e*u))},y={max:function(e){c=e},disable:function(e){s=e},slide:function(e,t,n){p(),n&&d(e),m(e,t)}};p(),n.data("api",y).bind("mousedown.sld",function(t){t.preventDefault();if(!s){var n=e.throttle(d,100);p(),y.dragging=!0,d(v(t)),r.bind("mousemove.sld",function(e){e.preventDefault(),n(v(e))}).one("mouseup",function(){y.dragging=!1,r.unbind("mousemove.sld")})}})})},flowplayer(function(t,n){function o(t){return e(".fp-"+t,n)}function T(t){parseInt(v,10)||h.css("paddingTop",t*100+"%"),i.inlineBlock||e("object",n).height(n.height())}function N(e){n.toggleClass("is-mouseover",e).toggleClass("is-mouseout",!e)}var r=t.conf,i=flowplayer.support,s;n.addClass("flowplayer").append(' <div class="ratio"/> <div class="ui"> <div class="waiting"><em/><em/><em/></div> <a class="fullscreen"/> <a class="unload"/> <p class="speed"/> <div class="controls"> <a class="play"></a> <div class="timeline"> <div class="buffer"/> <div class="progress"/> </div> <div class="volume"> <a class="mute"></a> <div class="volumeslider"> <div class="volumelevel"/> </div> </div> </div> <div class="time"> <em class="elapsed">00:00</em> <em class="remaining"/> <em class="duration">00:00</em> </div> <div class="message"><h2/><p/></div> </div>'.replace(/class="/g,'class="fp-'));var u=o("progress"),a=o("buffer"),f=o("elapsed"),l=o("remaining"),c=o("waiting"),h=o("ratio"),p=o("speed"),d=o("duration"),v=h.css("paddingTop"),m=o("timeline").slider2(),g=m.data("api"),b=o("volume"),w=o("fullscreen"),E=o("volumeslider").slider2(),S=E.data("api"),x=n.is(".fixed-controls, .no-toggle");i.animation||c.html("<p>loading …</p>"),T(r.ratio);try{r.fullscreen||w.remove()}catch(C){w.remove()}t.bind("ready",function(){var e=t.video.duration;g.disable(!e),T(t.video.videoHeight/t.video.videoWidth),d.add(l).html(y(e)),e>=3600&&n.addClass("is-long")||n.removeClass("is-long"),S.slide(t.volumeLevel)}).bind("unload",function(){v||h.css("paddingTop","")}).bind("buffer",function(){var e=t.video,n=e.buffer/e.duration;e.seekable||g.max(n),n<1?a.css("width",n*100+"%"):a.css({width:"100%"})}).bind("speed",function(e,t,n){p.text(n+"x").addClass("fp-hilite"),setTimeout(function(){p.removeClass("fp-hilite")},1e3)}).bind("buffered",function(){a.css({width:"100%"}),g.max(1)}).bind("progress",function(){var e=t.video.time,n=t.video.duration;g.dragging||g.slide(e/n,t.seeking?0:250),f.html(y(e)),l.html("-"+y(n-e))}).bind("finish resume seek",function(e){n.toggleClass("is-finished",e.type=="finish")}).bind("stop",function(){f.html(y(0)),g.slide(0,100)}).bind("finish",function(){f.html(y(t.video.duration)),g.slide(1,100),n.removeClass("is-seeking")}).bind("beforeseek",function(){u.stop()}).bind("volume",function(){S.slide(t.volumeLevel)}).bind("disable",function(){var e=t.disabled;g.disable(e),S.disable(e),n.toggleClass("is-disabled",t.disabled)}).bind("mute",function(e,t,r){n.toggleClass("is-muted",r)}).bind("error",function(t,i,s){n.removeClass("is-loading").addClass("is-error");if(s){s.message=r.errors[s.code],i.error=!0;var o=e(".fp-message",n);e("h2",o).text(i.engine+": "+s.message),e("p",o).text(s.url||i.video.url||i.video.src||r.errorUrls[s.code]),n.unbind("mouseenter click").removeClass("is-mouseover")}}).bind("mouseenter mouseleave",function(e){if(x)return;var t=e.type=="mouseenter",r;N(t),t?(n.bind("pause.x mousemove.x volume.x",function(){N(!0),r=new Date}),s=setInterval(function(){new Date-r>5e3&&(N(!1),r=new Date)},100)):(n.unbind(".x"),clearInterval(s))}).bind("mouseleave",function(){(g.dragging||S.dragging)&&n.addClass("is-mouseover").removeClass("is-mouseout")}).bind("click.player",function(n){if(e(n.target).is(".fp-ui, .fp-engine")||n.flash)return n.preventDefault(),t.toggle()}),r.poster&&n.css("backgroundImage","url("+r.poster+")");var k=n.css("backgroundColor"),L=n.css("backgroundImage")!="none"||k&&k!="rgba(0, 0, 0, 0)"&&k!="transparent";L&&!r.splash&&!r.autoplay&&t.bind("ready stop",function(){n.addClass("is-poster").one("ready progress",function(){n.removeClass("is-poster")})}),!L&&!i.firstframe&&n.css("backgroundColor","#555"),e(".fp-toggle, .fp-play",n).click(t.toggle),e.each(["mute","fullscreen","unload"],function(e,n){o(n).click(function(){t[n]()})}),m.bind("slide",function(e,n){t.seeking=!0,t.seek(n*t.video.duration)}),E.bind("slide",function(e,n){t.volume(n)}),o("time").click(function(t){e(this).toggleClass("is-inverted")}),N(x)});var b,w,E="is-help";e(document).bind("keydown.fp",function(t){var n=b,r=t.ctrlKey||t.metaKey||t.altKey,i=t.which,s=n&&n.conf;if(!n||!s.keyboard||n.disabled)return;if(e.inArray(i,[63,187,191,219])!=-1)return w.toggleClass(E),!1;if(i==27&&w.hasClass(E))return w.toggleClass(E),!1;if(!r&&n.ready){t.preventDefault();if(t.shiftKey){i==39?n.speed(!0):i==37&&n.speed(!1);return}if(i<58&&i>47)return n.seekTo(i-48);switch(i){case 38:case 75:n.volume(n.volumeLevel+.15);break;case 40:case 74:n.volume(n.volumeLevel-.15);break;case 39:case 76:n.seeking=!0,n.seek(!0);break;case 37:case 72:n.seeking=!0,n.seek(!1);break;case 190:n.seekTo();break;case 32:n.toggle();break;case 70:s.fullscreen&&n.fullscreen();break;case 77:n.mute();break;case 27:n[n.isFullscreen?"fullscreen":"unload"]()}}}),flowplayer(function(t,n){if(!t.conf.keyboard)return;n.bind("mouseenter mouseleave",function(e){b=!t.disabled&&e.type=="mouseenter"?t:0,b&&(w=n)}),n.append(' <div class="fp-help"> <a class="fp-close"></a> <div class="fp-help-section fp-help-basics"> <p><em>space</em>play / pause</p> <p><em>esc</em>stop</p> <p><em>f</em>fullscreen</p> <p><em>shift</em> + <em>←</em><em>→</em>slower / faster <small>(latest Chrome and Safari)</small></p> </div> <div class="fp-help-section"> <p><em>↑</em><em>↓</em>volume</p> <p><em>m</em>mute</p> </div> <div class="fp-help-section"> <p><em>←</em><em>→</em>seek</p> <p><em> . </em>seek to previous </p><p><em>1</em><em>2</em>…<em>6</em> seek to 10%, 20%, …60% </p> </div> </div> '),t.conf.tooltip&&e(".fp-ui",n).attr("title","Hit ? for help").on("mouseout.tip",function(){e(this).removeAttr("title").off("mouseout.tip")}),e(".fp-close",n).click(function(){n.toggleClass(E)})});var S=e.browser.mozilla?"moz":"webkit",x="fullscreen",T="fullscreen-exit",N,C=flowplayer.support.fullscreen;e(document).bind(S+"fullscreenchange",function(t){var n=e(document.webkitCurrentFullScreenElement||document.mozFullScreenElement);n.length?N=n.trigger(x,[n]):N.trigger(T,[N])}),flowplayer(function(t,n){if(!t.conf.fullscreen)return;var r=e(window),i={pos:0,play:!1},s;t.isFullscreen=!1,t.fullscreen=function(e){if(t.disabled)return;return e===undefined&&(e=!t.isFullscreen),e&&(s=r.scrollTop()),C?e?n[0][S+"RequestFullScreen"](flowplayer.support.fullscreen_keyboard?Element.ALLOW_KEYBOARD_INPUT:undefined):document[S+"CancelFullScreen"]():(t.engine==="flash"&&t.conf.rtmp&&(i={pos:t.video.time,play:t.playing}),t.trigger(e?x:T,[t])),t};var o;n.bind("mousedown.fs",function(){+(new Date)-o<150&&t.ready&&t.fullscreen(),o=+(new Date)}),t.bind(x,function(e){n.addClass("is-fullscreen"),t.isFullscreen=!0}).bind(T,function(e){n.removeClass("is-fullscreen"),t.isFullscreen=!1,r.scrollTop(s)}).bind("ready",function(){i.pos&&!isNaN(i.pos)&&setTimeout(function(){t.play(),t.seek(i.pos),i.play||setTimeout(function(){t.pause()},100),i={pos:0,play:!1}},250)})}),flowplayer(function(t,n){function s(){return e(r.query,n)}function o(){return e(r.query+"."+i,n)}var r=e.extend({active:"is-active",advance:!0,query:".fp-playlist a"},t.conf),i=r.active;t.play=function(e){return e===undefined?t.resume():typeof e!="number"?t.load.apply(null,arguments):s().eq(e).click(),t};if(s().length){n.on("click",r.query,function(n){var s=e(n.target).closest(r.query);s.is("."+i)?t.toggle():t.load(s.attr("href")),n.preventDefault()}),t.conf.loop=!1;var u=s().filter("[data-cuepoints]").length;t.bind("load",function(r,a,f){var l=o().removeClass(i),c=e("a[href*='"+f.src.replace(d,"")+".']",n).addClass(i),h=s(),p=h.index(c),v=p==h.length-1;n.removeClass("video"+h.index(l)).addClass("video"+p).toggleClass("last-video",v),f.index=p,f.is_last=v,u&&(t.cuepoints=c.data("cuepoints"))}).bind("unload.pl",function(){o().toggleClass(i)}),e.each(["next","prev"],function(r,i){t[i]=function(e){e&&e.preventDefault();var t=o()[i]();t.length||(t=s().filter(i=="next"?":first":":last")),t.click()},e(".fp-"+i,n).click(t[i])}),r.advance&&n.unbind("finish.pl").bind("finish.pl",function(){o().next().length||r.loop?t.next():(n.addClass("is-playing"),t.one("resume",function(){return t.next(),!1}))})}});var k=/ ?cue\d+ ?/;flowplayer(function(t,n){function i(e){n[0].className=n[0].className.replace(k," "),e>=0&&n.addClass("cue"+e)}var r=0;t.cuepoints=t.conf.cuepoints||[],t.bind("progress",function(e,s,o){if(r&&o-r<.015)return r=o;r=o;var u=t.cuepoints||[];for(var a=0,f;a<u.length;a++)f=u[a],1*f&&(f={time:f}),f.time<0&&(f.time=t.video.duration+f.time),f.index=a,Math.abs(f.time-o)<.125*t.currentSpeed&&(i(a),n.trigger("cuepoint",[t,f]))}).bind("unload seek",i),t.conf.generate_cuepoints&&t.bind("ready",function(){var r=t.cuepoints||[],i=t.video.duration,s=e(".fp-timeline",n).css("overflow","visible");e.each(r,function(n,r){var o=r.time||r;o<0&&(o=i+r);var u=e("<a/>").addClass("fp-cuepoint fp-cuepoint"+n).css("left",o/i*100+"%");u.appendTo(s).mousedown(function(){return t.seek(o),!1})})})}),flowplayer(function(t,n,r){function u(e){var t=e.split(":");return t.length==2&&t.unshift(0),t[0]*60*60+t[1]*60+parseFloat(t[2].replace(",","."))}var i=e("track",n),s=t.conf;if(flowplayer.support.subtitles){t.subtitles=i.length&&i[0].track;if(s.nativesubtitles&&s.engine=="html5")return}i.remove();var o=/^(([0-9]{2}:)?[0-9]{2}:[0-9]{2}[,.]{1}[0-9]{3}) --\> (([0-9]{2}:)?[0-9]{2}:[0-9]{2}[,.]{1}[0-9]{3})(.*)/;t.subtitles=[];var a=i.attr("src");if(!a)return;e.get(a,function(n){for(var r=0,i=n.split("\n"),s=i.length,a={},f,l,c,h;r<s;r++){l=o.exec(i[r]);if(l){f=i[r-1],c="<p>"+i[++r]+"</p><br/>";while(e.trim(i[++r])&&r<i.length)c+="<p>"+i[r]+"</p><br/>";a={title:f,startTime:u(l[1]),endTime:u(l[2]||l[3]),text:c},h={time:a.startTime,subtitle:a},t.subtitles.push(a),t.cuepoints.push(h),t.cuepoints.push({time:a.endTime,subtitleEnd:f}),a.startTime===0&&t.trigger("cuepoint",h)}}}).fail(function(){return t.trigger("error",{code:8,url:a}),!1});var f=e("<div class='fp-subtitle'/>",n).appendTo(n),l;t.bind("cuepoint",function(e,t,n){n.subtitle?(l=n.index,f.html(n.subtitle.text).addClass("fp-active")):n.subtitleEnd&&f.removeClass("fp-active")}).bind("seek",function(n,r,i){e.each(t.cuepoints||[],function(e,n){var r=n.subtitle;r&&l!=n.index&&(i>=n.time&&i<=r.endTime?t.trigger("cuepoint",n):f.removeClass("fp-active"))})})}),flowplayer(function(t,n){var r=t.conf.analytics,i=0,s=0;if(r){typeof _gat=="undefined"&&e.getScript("http://www.google-analytics.com/ga.js");function o(e){if(i&&typeof _gat!="undefined"){var s=_gat._getTracker(r),o=t.video;s._setAllowLinker(!0),s._trackEvent("Video / Seconds played",t.engine+"/"+o.type,n.attr("title")||o.src.split("/").slice(-1)[0].replace(d,""),Math.round(i/1e3)),i=0}}t.bind("load unload",o).bind("progress",function(){t.seeking||(i+=s?+(new Date)-s:0,s=+(new Date))}).bind("pause",function(){s=0}),e(window).unload(o)}}),flowplayer.support.touch&&flowplayer(function(t,n){var i=/Android/.test(r),s=/Silk/.test(r);flowplayer.support.volume||n.addClass("no-volume no-mute"),n.one("touchstart",function(){i&&t.toggle()}).bind("touchstart",function(e){if(t.playing&&!n.hasClass("is-mouseover"))return n.addClass("is-mouseover").removeClass("is-mouseout"),!1;t.paused&&n.hasClass("is-mouseout")&&t.toggle()}),t.conf.native_fullscreen&&e.browser.webkit&&(t.fullscreen=function(){e("video",n)[0].webkitEnterFullScreen()}),(i||s)&&t.bind("ready",function(){var r=e("video",n);r.one("canplay",function(){r[0].play()}),r[0].play(),t.bind("progress.dur",function(){var i=r[0].duration;i!==1&&(t.video.duration=i,e(".fp-duration",n).html(y(i)),t.unbind("progress.dur"))})})}),flowplayer(function(t,n){if(t.conf.embed===!1)return;var r=t.conf,i=e(".fp-ui",n),s=e("<a/>",{"class":"fp-embed",title:"Copy to your site"}).appendTo(i),o=e("<div/>",{"class":"fp-embed-code"}).append("<label>Paste this HTML code on your site to embed.</label><textarea/>").appendTo(i),u=e("textarea",o);t.embedCode=function(){var i=t.video,s=i.width||n.width(),o=i.height||n.height(),u=e("<div/>",{"class":"flowplayer",css:{width:s,height:o}}),a=e("<video/>").appendTo(u);e.each(["origin","analytics","logo","key","rtmp"],function(e,t){r[t]&&u.attr("data-"+t,r[t])}),e.each(i.sources,function(t,n){a.append(e("<source/>",{type:"video/"+n.type,src:n.src}))});var f=e("<foo/>",{src:"http://embed.flowplayer.org/5.3.2/embed.min.js"}).append(u);return e("<p/>").append(f).html().replace(/<(\/?)foo/g,"<$1script")},n.fptip(".fp-embed","is-embedding"),u.click(function(){this.select()}),s.click(function(){u.text(t.embedCode()),u[0].focus(),u[0].select()})}),e.fn.fptip=function(t,n){return this.each(function(){function i(){r.removeClass(n),e(document).unbind(".st")}var r=e(this);e(t||"a",this).click(function(t){t.preventDefault(),r.toggleClass(n),r.hasClass(n)&&e(document).bind("keydown.st",function(e){e.which==27&&i()}).bind("click.st",function(t){e(t.target).parents("."+n).length||i()})})})}}(jQuery),flowplayer(function(e,t){function n(e){var t=r("<a/>")[0];return t.href=e,t.hostname}var r=jQuery,i=e.conf,s=i.swf.indexOf("flowplayer.org")&&i.e&&i.origin,o=s?n(s):location.hostname,u=i.key;location.protocol=="file:"&&(o="localhost"),e.load.ed=1,i.hostname=o,i.origin=s||location.href,s&&t.addClass("is-embedded"),typeof u=="string"&&(u=u.split(/,\s*/));if(u&&typeof key_check=="function"&&key_check(u,o))i.logo&&t.append(r("<a>",{"class":"fp-logo",href:s,target:"_top"}).append(r("<img/>",{src:i.logo})));else{var a=r("<a/>",{href:"http://flowplayer.org",target:"_top"}).appendTo(t),f=r(".fp-controls",t);e.bind("pause resume finish unload",function(t){/pause|resume/.test(t.type)&&e.engine!="flash"?(a.show().css({position:"absolute",left:16,bottom:36,zIndex:99999,width:100,height:20,backgroundImage:"url("+[".png","logo","/",".org",".flowplayer","stream","//"].reverse().join("")+")"}),e.load.ed=a.is(":visible")):a.hide()})}});flowplayer(function(a,b){function j(a){var b=c("<a/>")[0];return b.href=a,b.hostname}var c=jQuery,d=a.conf,e=d.swf.indexOf("flowplayer.org")&&d.e&&d.origin,f=e?j(e):location.hostname,g=d.key;location.protocol=="file:"&&(f="localhost"),a.load.ed=1,d.hostname=f,d.origin=e||location.href,e&&b.addClass("is-embedded"),typeof g=="string"&&(g=g.split(/,\s*/));if(g&&typeof key_check=="function"&&key_check(g,f))d.logo&&b.append(c("<a>",{"class":"fp-logo",href:e,target:"_top"}).append(c("<img/>",{src:d.logo})));else{var h=c("<a/>",{href:"http://flowplayer.org",target:"_top"}).appendTo(b),i=c(".fp-controls",b);a.bind("pause resume finish unload",function(b){/pause|resume/.test(b.type)&&a.engine!="flash"?(h.show().css({position:"absolute",left:16,bottom:36,zIndex:99999,width:100,height:20,backgroundImage:"url("+[".png","logo","/",".org",".flowplayer","stream","//"].reverse().join("")+")"}),a.load.ed=h.is(":visible")):h.hide()})}}); \ No newline at end of file diff --git a/wp-content/plugins/ai-embed/flowplayer/flowplayer.pseudostreaming-3.2.5.swf b/wp-content/plugins/ai-embed/flowplayer/flowplayer.pseudostreaming-3.2.5.swf new file mode 100644 index 0000000000000000000000000000000000000000..362a72965e8ce8842420b7d689361ece2862efd3 Binary files /dev/null and b/wp-content/plugins/ai-embed/flowplayer/flowplayer.pseudostreaming-3.2.5.swf differ diff --git a/wp-content/plugins/ai-embed/flowplayer/flowplayer.swf b/wp-content/plugins/ai-embed/flowplayer/flowplayer.swf new file mode 100644 index 0000000000000000000000000000000000000000..fcb4d8fbb99f9e4eb657680a997e49cd99228102 Binary files /dev/null and b/wp-content/plugins/ai-embed/flowplayer/flowplayer.swf differ diff --git a/wp-content/plugins/ai-embed/flowplayer/index.html b/wp-content/plugins/ai-embed/flowplayer/index.html new file mode 100644 index 0000000000000000000000000000000000000000..f30f24ae4ed06973302ca1cc9cb6f854a1388c9d --- /dev/null +++ b/wp-content/plugins/ai-embed/flowplayer/index.html @@ -0,0 +1,33 @@ +<!doctype html> + +<head> + + <!-- player skin --> + <link rel="stylesheet" type="text/css" href="skin/minimalist.css" /> + + <!-- site specific styling --> + <style> + body { font: 12px "Myriad Pro", "Lucida Grande", sans-serif; text-align: center; padding-top: 5%; } + .flowplayer { width: 80%; } + </style> + + <!-- flowplayer depends on jQuery 1.7.1+ (for now) --> + <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> + + <!-- include flowplayer --> + <script src="flowplayer.min.js"></script> + +</head> + +<body> + + <!-- the player --> + <div class="flowplayer" data-swf="flowplayer.swf" data-ratio="0.417"> + <video> + <source type="video/webm" src="http://stream.flowplayer.org/bauhaus/624x260.webm"/> + <source type="video/mp4" src="http://stream.flowplayer.org/bauhaus/624x260.mp4"/> + <source type="video/ogv" src="http://stream.flowplayer.org/bauhaus/624x260.ogv"/> + </video> + </div> + +</body> diff --git a/wp-content/plugins/ai-embed/flowplayer/js/flowplayer-3.2.4.min.js b/wp-content/plugins/ai-embed/flowplayer/js/flowplayer-3.2.4.min.js new file mode 100644 index 0000000000000000000000000000000000000000..f05586d24d35bff796787f5c60a44e96ebb64297 --- /dev/null +++ b/wp-content/plugins/ai-embed/flowplayer/js/flowplayer-3.2.4.min.js @@ -0,0 +1,24 @@ +/* + * flowplayer.js 3.2.4. The Flowplayer API + * + * Copyright 2009 Flowplayer Oy + * + * This file is part of Flowplayer. + * + * Flowplayer is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Flowplayer is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Flowplayer. If not, see <http://www.gnu.org/licenses/>. + * + * Date: 2010-08-25 12:48:46 +0000 (Wed, 25 Aug 2010) + * Revision: 551 + */ +(function(){function g(o){console.log("$f.fireEvent",[].slice.call(o))}function k(q){if(!q||typeof q!="object"){return q}var o=new q.constructor();for(var p in q){if(q.hasOwnProperty(p)){o[p]=k(q[p])}}return o}function m(t,q){if(!t){return}var o,p=0,r=t.length;if(r===undefined){for(o in t){if(q.call(t[o],o,t[o])===false){break}}}else{for(var s=t[0];p<r&&q.call(s,p,s)!==false;s=t[++p]){}}return t}function c(o){return document.getElementById(o)}function i(q,p,o){if(typeof p!="object"){return q}if(q&&p){m(p,function(r,s){if(!o||typeof s!="function"){q[r]=s}})}return q}function n(s){var q=s.indexOf(".");if(q!=-1){var p=s.slice(0,q)||"*";var o=s.slice(q+1,s.length);var r=[];m(document.getElementsByTagName(p),function(){if(this.className&&this.className.indexOf(o)!=-1){r.push(this)}});return r}}function f(o){o=o||window.event;if(o.preventDefault){o.stopPropagation();o.preventDefault()}else{o.returnValue=false;o.cancelBubble=true}return false}function j(q,o,p){q[o]=q[o]||[];q[o].push(p)}function e(){return"_"+(""+Math.random()).slice(2,10)}var h=function(t,r,s){var q=this,p={},u={};q.index=r;if(typeof t=="string"){t={url:t}}i(this,t,true);m(("Begin*,Start,Pause*,Resume*,Seek*,Stop*,Finish*,LastSecond,Update,BufferFull,BufferEmpty,BufferStop").split(","),function(){var v="on"+this;if(v.indexOf("*")!=-1){v=v.slice(0,v.length-1);var w="onBefore"+v.slice(2);q[w]=function(x){j(u,w,x);return q}}q[v]=function(x){j(u,v,x);return q};if(r==-1){if(q[w]){s[w]=q[w]}if(q[v]){s[v]=q[v]}}});i(this,{onCuepoint:function(x,w){if(arguments.length==1){p.embedded=[null,x];return q}if(typeof x=="number"){x=[x]}var v=e();p[v]=[x,w];if(s.isLoaded()){s._api().fp_addCuepoints(x,r,v)}return q},update:function(w){i(q,w);if(s.isLoaded()){s._api().fp_updateClip(w,r)}var v=s.getConfig();var x=(r==-1)?v.clip:v.playlist[r];i(x,w,true)},_fireEvent:function(v,y,w,A){if(v=="onLoad"){m(p,function(B,C){if(C[0]){s._api().fp_addCuepoints(C[0],r,B)}});return false}A=A||q;if(v=="onCuepoint"){var z=p[y];if(z){return z[1].call(s,A,w)}}if(y&&"onBeforeBegin,onMetaData,onStart,onUpdate,onResume".indexOf(v)!=-1){i(A,y);if(y.metaData){if(!A.duration){A.duration=y.metaData.duration}else{A.fullDuration=y.metaData.duration}}}var x=true;m(u[v],function(){x=this.call(s,A,y,w)});return x}});if(t.onCuepoint){var o=t.onCuepoint;q.onCuepoint.apply(q,typeof o=="function"?[o]:o);delete t.onCuepoint}m(t,function(v,w){if(typeof w=="function"){j(u,v,w);delete t[v]}});if(r==-1){s.onCuepoint=this.onCuepoint}};var l=function(p,r,q,t){var o=this,s={},u=false;if(t){i(s,t)}m(r,function(v,w){if(typeof w=="function"){s[v]=w;delete r[v]}});i(this,{animate:function(y,z,x){if(!y){return o}if(typeof z=="function"){x=z;z=500}if(typeof y=="string"){var w=y;y={};y[w]=z;z=500}if(x){var v=e();s[v]=x}if(z===undefined){z=500}r=q._api().fp_animate(p,y,z,v);return o},css:function(w,x){if(x!==undefined){var v={};v[w]=x;w=v}r=q._api().fp_css(p,w);i(o,r);return o},show:function(){this.display="block";q._api().fp_showPlugin(p);return o},hide:function(){this.display="none";q._api().fp_hidePlugin(p);return o},toggle:function(){this.display=q._api().fp_togglePlugin(p);return o},fadeTo:function(y,x,w){if(typeof x=="function"){w=x;x=500}if(w){var v=e();s[v]=w}this.display=q._api().fp_fadeTo(p,y,x,v);this.opacity=y;return o},fadeIn:function(w,v){return o.fadeTo(1,w,v)},fadeOut:function(w,v){return o.fadeTo(0,w,v)},getName:function(){return p},getPlayer:function(){return q},_fireEvent:function(w,v,x){if(w=="onUpdate"){var z=q._api().fp_getPlugin(p);if(!z){return}i(o,z);delete o.methods;if(!u){m(z.methods,function(){var B=""+this;o[B]=function(){var C=[].slice.call(arguments);var D=q._api().fp_invoke(p,B,C);return D==="undefined"||D===undefined?o:D}});u=true}}var A=s[w];if(A){var y=A.apply(o,v);if(w.slice(0,1)=="_"){delete s[w]}return y}return o}})};function b(q,G,t){var w=this,v=null,D=false,u,s,F=[],y={},x={},E,r,p,C,o,A;i(w,{id:function(){return E},isLoaded:function(){return(v!==null&&v.fp_play!==undefined&&!D)},getParent:function(){return q},hide:function(H){if(H){q.style.height="0px"}if(w.isLoaded()){v.style.height="0px"}return w},show:function(){q.style.height=A+"px";if(w.isLoaded()){v.style.height=o+"px"}return w},isHidden:function(){return w.isLoaded()&&parseInt(v.style.height,10)===0},load:function(J){if(!w.isLoaded()&&w._fireEvent("onBeforeLoad")!==false){var H=function(){u=q.innerHTML;if(u&&!flashembed.isSupported(G.version)){q.innerHTML=""}if(J){J.cached=true;j(x,"onLoad",J)}flashembed(q,G,{config:t})};var I=0;m(a,function(){this.unload(function(K){if(++I==a.length){H()}})})}return w},unload:function(J){if(this.isFullscreen()&&/WebKit/i.test(navigator.userAgent)){if(J){J(false)}return w}if(u.replace(/\s/g,"")!==""){if(w._fireEvent("onBeforeUnload")===false){if(J){J(false)}return w}D=true;try{if(v){v.fp_close();w._fireEvent("onUnload")}}catch(H){}var I=function(){v=null;q.innerHTML=u;D=false;if(J){J(true)}};setTimeout(I,50)}else{if(J){J(false)}}return w},getClip:function(H){if(H===undefined){H=C}return F[H]},getCommonClip:function(){return s},getPlaylist:function(){return F},getPlugin:function(H){var J=y[H];if(!J&&w.isLoaded()){var I=w._api().fp_getPlugin(H);if(I){J=new l(H,I,w);y[H]=J}}return J},getScreen:function(){return w.getPlugin("screen")},getControls:function(){return w.getPlugin("controls")._fireEvent("onUpdate")},getLogo:function(){try{return w.getPlugin("logo")._fireEvent("onUpdate")}catch(H){}},getPlay:function(){return w.getPlugin("play")._fireEvent("onUpdate")},getConfig:function(H){return H?k(t):t},getFlashParams:function(){return G},loadPlugin:function(K,J,M,L){if(typeof M=="function"){L=M;M={}}var I=L?e():"_";w._api().fp_loadPlugin(K,J,M,I);var H={};H[I]=L;var N=new l(K,null,w,H);y[K]=N;return N},getState:function(){return w.isLoaded()?v.fp_getState():-1},play:function(I,H){var J=function(){if(I!==undefined){w._api().fp_play(I,H)}else{w._api().fp_play()}};if(w.isLoaded()){J()}else{if(D){setTimeout(function(){w.play(I,H)},50)}else{w.load(function(){J()})}}return w},getVersion:function(){var I="flowplayer.js 3.2.4";if(w.isLoaded()){var H=v.fp_getVersion();H.push(I);return H}return I},_api:function(){if(!w.isLoaded()){throw"Flowplayer "+w.id()+" not loaded when calling an API method"}return v},setClip:function(H){w.setPlaylist([H]);return w},getIndex:function(){return p},_swfHeight:function(){return v.clientHeight}});m(("Click*,Load*,Unload*,Keypress*,Volume*,Mute*,Unmute*,PlaylistReplace,ClipAdd,Fullscreen*,FullscreenExit,Error,MouseOver,MouseOut").split(","),function(){var H="on"+this;if(H.indexOf("*")!=-1){H=H.slice(0,H.length-1);var I="onBefore"+H.slice(2);w[I]=function(J){j(x,I,J);return w}}w[H]=function(J){j(x,H,J);return w}});m(("pause,resume,mute,unmute,stop,toggle,seek,getStatus,getVolume,setVolume,getTime,isPaused,isPlaying,startBuffering,stopBuffering,isFullscreen,toggleFullscreen,reset,close,setPlaylist,addClip,playFeed,setKeyboardShortcutsEnabled,isKeyboardShortcutsEnabled").split(","),function(){var H=this;w[H]=function(J,I){if(!w.isLoaded()){return w}var K=null;if(J!==undefined&&I!==undefined){K=v["fp_"+H](J,I)}else{K=(J===undefined)?v["fp_"+H]():v["fp_"+H](J)}return K==="undefined"||K===undefined?w:K}});w._fireEvent=function(Q){if(typeof Q=="string"){Q=[Q]}var R=Q[0],O=Q[1],M=Q[2],L=Q[3],K=0;if(t.debug){g(Q)}if(!w.isLoaded()&&R=="onLoad"&&O=="player"){v=v||c(r);o=w._swfHeight();m(F,function(){this._fireEvent("onLoad")});m(y,function(S,T){T._fireEvent("onUpdate")});s._fireEvent("onLoad")}if(R=="onLoad"&&O!="player"){return}if(R=="onError"){if(typeof O=="string"||(typeof O=="number"&&typeof M=="number")){O=M;M=L}}if(R=="onContextMenu"){m(t.contextMenu[O],function(S,T){T.call(w)});return}if(R=="onPluginEvent"||R=="onBeforePluginEvent"){var H=O.name||O;var I=y[H];if(I){I._fireEvent("onUpdate",O);return I._fireEvent(M,Q.slice(3))}return}if(R=="onPlaylistReplace"){F=[];var N=0;m(O,function(){F.push(new h(this,N++,w))})}if(R=="onClipAdd"){if(O.isInStream){return}O=new h(O,M,w);F.splice(M,0,O);for(K=M+1;K<F.length;K++){F[K].index++}}var P=true;if(typeof O=="number"&&O<F.length){C=O;var J=F[O];if(J){P=J._fireEvent(R,M,L)}if(!J||P!==false){P=s._fireEvent(R,M,L,J)}}m(x[R],function(){P=this.call(w,O,M);if(this.cached){x[R].splice(K,1)}if(P===false){return false}K++});return P};function B(){if($f(q)){$f(q).getParent().innerHTML="";p=$f(q).getIndex();a[p]=w}else{a.push(w);p=a.length-1}A=parseInt(q.style.height,10)||q.clientHeight;E=q.id||"fp"+e();r=G.id||E+"_api";G.id=r;t.playerId=E;if(typeof t=="string"){t={clip:{url:t}}}if(typeof t.clip=="string"){t.clip={url:t.clip}}t.clip=t.clip||{};if(q.getAttribute("href",2)&&!t.clip.url){t.clip.url=q.getAttribute("href",2)}s=new h(t.clip,-1,w);t.playlist=t.playlist||[t.clip];var I=0;m(t.playlist,function(){var K=this;if(typeof K=="object"&&K.length){K={url:""+K}}m(t.clip,function(L,M){if(M!==undefined&&K[L]===undefined&&typeof M!="function"){K[L]=M}});t.playlist[I]=K;K=new h(K,I,w);F.push(K);I++});m(t,function(K,L){if(typeof L=="function"){if(s[K]){s[K](L)}else{j(x,K,L)}delete t[K]}});m(t.plugins,function(K,L){if(L){y[K]=new l(K,L,w)}});if(!t.plugins||t.plugins.controls===undefined){y.controls=new l("controls",null,w)}y.canvas=new l("canvas",null,w);u=q.innerHTML;function J(L){var K=w.hasiPadSupport&&w.hasiPadSupport();if(/iPad|iPhone|iPod/i.test(navigator.userAgent)&&!/.flv$/i.test(F[0].url)&&!K){return true}if(!w.isLoaded()&&w._fireEvent("onBeforeClick")!==false){w.load()}return f(L)}function H(){if(u.replace(/\s/g,"")!==""){if(q.addEventListener){q.addEventListener("click",J,false)}else{if(q.attachEvent){q.attachEvent("onclick",J)}}}else{if(q.addEventListener){q.addEventListener("click",f,false)}w.load()}}setTimeout(H,0)}if(typeof q=="string"){var z=c(q);if(!z){throw"Flowplayer cannot access element: "+q}q=z;B()}else{B()}}var a=[];function d(o){this.length=o.length;this.each=function(p){m(o,p)};this.size=function(){return o.length}}window.flowplayer=window.$f=function(){var p=null;var o=arguments[0];if(!arguments.length){m(a,function(){if(this.isLoaded()){p=this;return false}});return p||a[0]}if(arguments.length==1){if(typeof o=="number"){return a[o]}else{if(o=="*"){return new d(a)}m(a,function(){if(this.id()==o.id||this.id()==o||this.getParent()==o){p=this;return false}});return p}}if(arguments.length>1){var t=arguments[1],q=(arguments.length==3)?arguments[2]:{};if(typeof t=="string"){t={src:t}}t=i({bgcolor:"#000000",version:[9,0],expressInstall:"http://static.flowplayer.org/swf/expressinstall.swf",cachebusting:true},t);if(typeof o=="string"){if(o.indexOf(".")!=-1){var s=[];m(n(o),function(){s.push(new b(this,k(t),k(q)))});return new d(s)}else{var r=c(o);return new b(r!==null?r:o,t,q)}}else{if(o){return new b(o,t,q)}}}return null};i(window.$f,{fireEvent:function(){var o=[].slice.call(arguments);var q=$f(o[0]);return q?q._fireEvent(o.slice(1)):null},addPlugin:function(o,p){b.prototype[o]=p;return $f},each:m,extend:i});if(typeof jQuery=="function"){jQuery.fn.flowplayer=function(q,p){if(!arguments.length||typeof arguments[0]=="number"){var o=[];this.each(function(){var r=$f(this);if(r){o.push(r)}});return arguments.length?o[arguments[0]]:new d(o)}return this.each(function(){$f(this,k(q),p?k(p):{})})}}})();(function(){var h=document.all,j="http://www.adobe.com/go/getflashplayer",c=typeof jQuery=="function",e=/(\d+)[^\d]+(\d+)[^\d]*(\d*)/,b={width:"100%",height:"100%",id:"_"+(""+Math.random()).slice(9),allowfullscreen:true,allowscriptaccess:"always",quality:"high",version:[3,0],onFail:null,expressInstall:null,w3c:false,cachebusting:false};if(window.attachEvent){window.attachEvent("onbeforeunload",function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){}})}function i(m,l){if(l){for(var f in l){if(l.hasOwnProperty(f)){m[f]=l[f]}}}return m}function a(f,n){var m=[];for(var l in f){if(f.hasOwnProperty(l)){m[l]=n(f[l])}}return m}window.flashembed=function(f,m,l){if(typeof f=="string"){f=document.getElementById(f.replace("#",""))}if(!f){return}if(typeof m=="string"){m={src:m}}return new d(f,i(i({},b),m),l)};var g=i(window.flashembed,{conf:b,getVersion:function(){var m,f;try{f=navigator.plugins["Shockwave Flash"].description.slice(16)}catch(o){try{m=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");f=m&&m.GetVariable("$version")}catch(n){try{m=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");f=m&&m.GetVariable("$version")}catch(l){}}}f=e.exec(f);return f?[f[1],f[3]]:[0,0]},asString:function(l){if(l===null||l===undefined){return null}var f=typeof l;if(f=="object"&&l.push){f="array"}switch(f){case"string":l=l.replace(new RegExp('(["\\\\])',"g"),"\\$1");l=l.replace(/^\s?(\d+\.?\d+)%/,"$1pct");return'"'+l+'"';case"array":return"["+a(l,function(o){return g.asString(o)}).join(",")+"]";case"function":return'"function()"';case"object":var m=[];for(var n in l){if(l.hasOwnProperty(n)){m.push('"'+n+'":'+g.asString(l[n]))}}return"{"+m.join(",")+"}"}return String(l).replace(/\s/g," ").replace(/\'/g,'"')},getHTML:function(o,l){o=i({},o);var n='<object width="'+o.width+'" height="'+o.height+'" id="'+o.id+'" name="'+o.id+'"';if(o.cachebusting){o.src+=((o.src.indexOf("?")!=-1?"&":"?")+Math.random())}if(o.w3c||!h){n+=' data="'+o.src+'" type="application/x-shockwave-flash"'}else{n+=' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'}n+=">";if(o.w3c||h){n+='<param name="movie" value="'+o.src+'" />'}o.width=o.height=o.id=o.w3c=o.src=null;o.onFail=o.version=o.expressInstall=null;for(var m in o){if(o[m]){n+='<param name="'+m+'" value="'+o[m]+'" />'}}var p="";if(l){for(var f in l){if(l[f]){var q=l[f];p+=f+"="+(/function|object/.test(typeof q)?g.asString(q):q)+"&"}}p=p.slice(0,-1);n+='<param name="flashvars" value=\''+p+"' />"}n+="</object>";return n},isSupported:function(f){return k[0]>f[0]||k[0]==f[0]&&k[1]>=f[1]}});var k=g.getVersion();function d(f,n,m){if(g.isSupported(n.version)){f.innerHTML=g.getHTML(n,m)}else{if(n.expressInstall&&g.isSupported([6,65])){f.innerHTML=g.getHTML(i(n,{src:n.expressInstall}),{MMredirectURL:location.href,MMplayerType:"PlugIn",MMdoctitle:document.title})}else{if(!f.innerHTML.replace(/\s/g,"")){f.innerHTML="<h2>Flash version "+n.version+" or greater is required</h2><h3>"+(k[0]>0?"Your version is "+k:"You have no flash plugin installed")+"</h3>"+(f.tagName=="A"?"<p>Click here to download latest version</p>":"<p>Download latest version from <a href='"+j+"'>here</a></p>");if(f.tagName=="A"){f.onclick=function(){location.href=j}}}if(n.onFail){var l=n.onFail.call(this);if(typeof l=="string"){f.innerHTML=l}}}}if(h){window[n.id]=document.getElementById(n.id)}i(this,{getRoot:function(){return f},getOptions:function(){return n},getConf:function(){return m},getApi:function(){return f.firstChild}})}if(c){jQuery.tools=jQuery.tools||{version:"3.2.4"};jQuery.tools.flashembed={conf:b};jQuery.fn.flashembed=function(l,f){return this.each(function(){$(this).data("flashembed",flashembed(this,l,f))})}}})(); \ No newline at end of file diff --git a/wp-content/plugins/ai-embed/flowplayer/js/index.html b/wp-content/plugins/ai-embed/flowplayer/js/index.html new file mode 100644 index 0000000000000000000000000000000000000000..5314c430603e2a7cf0e5160e03e6362d7720423a --- /dev/null +++ b/wp-content/plugins/ai-embed/flowplayer/js/index.html @@ -0,0 +1,74 @@ +<html><head> +<meta http-equiv="content-type" content="text/html; charset=UTF-8"> +<!-- A minimal Flowplayer setup to get you started --> + + + <!-- + include flowplayer JavaScript file that does + Flash embedding and provides the Flowplayer API. + --> + <script type="text/javascript" src="flowplayer-3.2.4.min.js"></script> + + <!-- some minimal styling, can be removed --> + <link rel="stylesheet" type="text/css" href="style.css"> + + <!-- page title --> + <title>Minimal Flowplayer setup</title> + +</head><body> + + <div id="page"> + + <h1>Minimal Flowplayer setup</h1> + + <p>View commented source code to get familiar with Flowplayer installation.</p> + + <!-- this A tag is where your Flowplayer will be placed. it can be anywhere --> + <a + href="http://e1h13.simplecdn.net/flowplayer/flowplayer.flv" + style="display:block;width:520px;height:330px" + id="player"> + </a> + + <!-- this will install flowplayer inside previous A- tag. --> + <script> + flowplayer("player", "../flowplayer-3.2.5.swf"); + </script> + + + + <!-- + after this line is purely informational stuff. + does not affect on Flowplayer functionality + --> + + <p> + If you are running these examples <strong>locally</strong> and not on some webserver you must edit your + <a href="http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html"> + Flash security settings</a>. + </p> + + <p class="less"> + Select "Edit locations" > "Add location" > "Browse for files" and select + flowplayer-x.x.x.swf you just downloaded. + </p> + + + <h2>Documentation</h2> + + <p> + <a href="http://flowplayer.org/documentation/installation/index.html">Flowplayer installation</a> + </p> + + <p> + <a href="http://flowplayer.org/documentation/configuration/index.html">Flowplayer configuration</a> + </p> + + <p> + See this identical page on <a href="http://flowplayer.org/demos/example/index.htm">Flowplayer website</a> + </p> + + </div> + + +</body></html> \ No newline at end of file diff --git a/wp-content/plugins/ai-embed/flowplayer/js/style.css b/wp-content/plugins/ai-embed/flowplayer/js/style.css new file mode 100644 index 0000000000000000000000000000000000000000..98f090c3c76d15cf968c34a215d687f1a54f6208 --- /dev/null +++ b/wp-content/plugins/ai-embed/flowplayer/js/style.css @@ -0,0 +1,41 @@ + +body { + background-color:#fff; + font-family:"Lucida Grande","bitstream vera sans","trebuchet ms",verdana,arial; + text-align:center; +} + +#page { + background-color:#efefef; + width:600px; + margin:50px auto; + padding:20px 150px 20px 50px; + min-height:600px; + border:2px solid #fff; + outline:1px solid #ccc; + text-align:left; +} + +h1, h2 { + letter-spacing:-1px; + color:#2D5AC3; + font-weight:normal; + margin-bottom:-10px; +} + +h1 { + font-size:22px; +} + +h2 { + font-size:18px; +} + +.less { + color:#999; + font-size:12px; +} + +a { + color:#295c72; +} diff --git a/wp-content/plugins/ai-embed/flowplayer/skin/all-skins.css b/wp-content/plugins/ai-embed/flowplayer/skin/all-skins.css new file mode 100644 index 0000000000000000000000000000000000000000..19141c33476e60629f572e6fbf67d012fab4ea37 --- /dev/null +++ b/wp-content/plugins/ai-embed/flowplayer/skin/all-skins.css @@ -0,0 +1,475 @@ +.minimalist{position:relative;width:100%;text-align:left;background-size:contain;background-repeat:no-repeat;background-position:center center;display:inline-block;} +.minimalist *{font-weight:inherit;font-family:inherit;font-style:inherit;text-decoration:inherit;font-size:100%;padding:0;border:0;margin:0;list-style-type:none} +.minimalist a:focus{outline:0} +.minimalist video{width:100%} +.minimalist.is-ipad video{-webkit-transform:translateX(-2048px);} +.is-ready.minimalist.is-ipad video{-webkit-transform:translateX(0)} +.minimalist .fp-engine,.minimalist .fp-ui,.minimalist .fp-message{position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer;z-index:1} +.minimalist .fp-message{display:none;text-align:center;padding-top:5%;cursor:default;} +.minimalist .fp-message h2{font-size:120%;margin-bottom:1em} +.minimalist .fp-message p{color:#666;font-size:95%} +.minimalist .fp-controls{position:absolute;bottom:0;width:100%;} +.no-background.minimalist .fp-controls{background-color:transparent !important;background-image:-moz-linear-gradient(transparent,transparent) !important;background-image:-webkit-gradient(linear,0 0,0 100%,from(transparent),to(transparent)) !important} +.is-fullscreen.minimalist .fp-controls{bottom:3px} +.is-mouseover.minimalist .fp-controls{bottom:0} +.minimalist .fp-waiting{display:none;margin:19% auto;text-align:center;} +.minimalist .fp-waiting *{-webkit-box-shadow:0 0 5px #333;-moz-box-shadow:0 0 5px #333;box-shadow:0 0 5px #333} +.minimalist .fp-waiting em{width:1em;height:1em;-webkit-border-radius:1em;-moz-border-radius:1em;border-radius:1em;background-color:rgba(255,255,255,0.8);display:inline-block;-webkit-animation:pulse .6s infinite;-moz-animation:pulse .6s infinite;animation:pulse .6s infinite;margin:.3em;opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);} +.minimalist .fp-waiting em:nth-child(1){-webkit-animation-delay:.3s;-moz-animation-delay:.3s;animation-delay:.3s} +.minimalist .fp-waiting em:nth-child(2){-webkit-animation-delay:.45s;-moz-animation-delay:.45s;animation-delay:.45s} +.minimalist .fp-waiting em:nth-child(3){-webkit-animation-delay:.6s;-moz-animation-delay:.6s;animation-delay:.6s} +.minimalist .fp-waiting p{color:#ccc;font-weight:bold} +.minimalist .fp-speed{font-size:30px;background-color:#333;background-color:rgba(51,51,51,0.8);color:#eee;margin:0 auto;text-align:center;width:120px;padding:.1em 0 0;opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);-webkit-transition:opacity .5s;-moz-transition:opacity .5s;transition:opacity .5s;} +.minimalist .fp-speed.fp-hilite{opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} +.minimalist .fp-help{position:absolute;top:0;left:-9999em;z-index:100;background-color:#333;background-color:rgba(51,51,51,0.9);width:100%;height:100%;opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);-webkit-transition:opacity .2s;-moz-transition:opacity .2s;transition:opacity .2s;text-align:center;} +.is-help.minimalist .fp-help{left:0;opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} +.minimalist .fp-help .fp-help-section{margin:3%} +.minimalist .fp-help .fp-help-basics{margin-top:6%} +.minimalist .fp-help p{color:#eee;margin:.5em 0;font-size:14px;line-height:1.5;display:inline-block;margin:1% 2%} +.minimalist .fp-help em{background:#eee;-webkit-border-radius:.3em;-moz-border-radius:.3em;border-radius:.3em;margin-right:.4em;padding:.3em .6em;color:#333} +.minimalist .fp-help small{font-size:90%;color:#aaa} +.minimalist .fp-help .fp-close{display:block} +@media (max-width: 600px){.minimalist .fp-help p{font-size:9px} +}.minimalist .fp-subtitle{position:absolute;bottom:40px;left:-99999em;z-index:10;text-align:center;width:100%;opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);-webkit-transition:opacity .3s;-moz-transition:opacity .3s;transition:opacity .3s;} +.minimalist .fp-subtitle p{display:inline;background-color:#333;background-color:rgba(51,51,51,0.9);color:#eee;padding:.1em .4em;font-size:16px;line-height:1.6;} +.minimalist .fp-subtitle p:after{content:'';clear:both} +.minimalist .fp-subtitle.fp-active{left:0;opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} +.minimalist .fp-fullscreen,.minimalist .fp-unload,.minimalist .fp-mute,.minimalist .fp-embed,.minimalist .fp-close,.minimalist .fp-play{background-image:url(img/white.png);background-size:37px 300px;} +.color-light.minimalist .fp-fullscreen,.color-light.minimalist .fp-unload,.color-light.minimalist .fp-mute,.color-light.minimalist .fp-embed,.color-light.minimalist .fp-close,.color-light.minimalist .fp-play{background-image:url(img/black.png);} +@media (-webkit-min-device-pixel-ratio: 2){.color-light.minimalist .fp-fullscreen,.color-light.minimalist .fp-unload,.color-light.minimalist .fp-mute,.color-light.minimalist .fp-embed,.color-light.minimalist .fp-close,.color-light.minimalist .fp-play{background-image:url(img/black@x2.png)} +}@media (-webkit-min-device-pixel-ratio: 2){.minimalist .fp-fullscreen,.minimalist .fp-unload,.minimalist .fp-mute,.minimalist .fp-embed,.minimalist .fp-close,.minimalist .fp-play{background-image:url(img/white@x2.png)} +}.is-splash.minimalist .fp-ui,.is-paused.minimalist .fp-ui{background:url(img/play_white.png) center no-repeat;background-size:12%;} +@media (-webkit-min-device-pixel-ratio: 2){.is-splash.minimalist .fp-ui,.is-paused.minimalist .fp-ui{background:url(img/play_white@x2.png) center no-repeat;background-size:12%} +}.color-light.is-splash.minimalist .fp-ui,.color-light.is-paused.minimalist .fp-ui{background-image:url(img/play_black.png)} +@media (-webkit-min-device-pixel-ratio: 2){.color-light.is-splash.minimalist .fp-ui,.color-light.is-paused.minimalist .fp-ui{background-image:url(img/play_black@x2.png)} +}.is-fullscreen.minimalist .fp-ui{background-size:auto} +.is-seeking.minimalist .fp-ui,.is-loading.minimalist .fp-ui{background-image:none} +.minimalist .fp-logo{position:absolute;top:auto;left:15px;bottom:30px;cursor:pointer;display:none;z-index:100;} +.minimalist .fp-logo img{width:100%} +.is-embedded.minimalist .fp-logo{display:block} +.fixed-controls.minimalist .fp-logo{bottom:15px} +.minimalist .fp-fullscreen,.minimalist .fp-unload,.minimalist .fp-close{position:absolute;top:5px;left:auto;right:5px;display:block;width:30px;height:23px;background-position:12px -197px;cursor:pointer} +.minimalist .fp-unload,.minimalist .fp-close{background-position:14px -175px;display:none} +.minimalist .fp-play{display:none;width:27px;height:20px;background-position:9px -24px;position:absolute;bottom:0;left:0;} +.play-button.minimalist .fp-play{display:block} +.is-paused.minimalist .fp-play{background-position:9px 7px} +.minimalist.is-ready.is-closeable .fp-unload{display:block} +.minimalist.is-ready.is-closeable .fp-fullscreen{display:none} +.minimalist.is-fullscreen .fp-fullscreen{background-position:10px -217px;display:block !important} +.minimalist.is-fullscreen .fp-unload,.minimalist.is-fullscreen .fp-close{display:none !important} +.minimalist .fp-timeline{height:3px;position:relative;overflow:hidden;top:5px;height:10px;margin:0 150px 0 45px;} +.no-volume.minimalist .fp-timeline{margin-right:60px} +.no-mute.minimalist .fp-timeline{margin-right:45px} +.play-button.minimalist .fp-timeline{margin-left:67px} +.is-long.minimalist .fp-timeline{margin:0 180px 0 75px;} +.no-volume.is-long.minimalist .fp-timeline{margin-right:90px} +.no-mute.is-long.minimalist .fp-timeline{margin-right:75px} +.play-button.is-long.minimalist .fp-timeline{margin-left:97px} +.aside-time.minimalist .fp-timeline,.no-time.minimalist .fp-timeline{margin:0 110px 0 5px} +.aside-time.no-volume.minimalist .fp-timeline,.no-time.no-volume.minimalist .fp-timeline{margin-right:20px} +.aside-time.no-mute.minimalist .fp-timeline,.no-time.no-mute.minimalist .fp-timeline{margin-right:5px} +.play-button.no-time.minimalist .fp-timeline,.play-button.aside-time.minimalist .fp-timeline{margin-left:27px} +.minimalist .fp-buffer,.minimalist .fp-progress{position:absolute;top:0;left:auto;height:100%;cursor:col-resize} +.minimalist .fp-buffer{-webkit-transition:width .25s linear;-moz-transition:width .25s linear;transition:width .25s linear} +.minimalist .fp-volume{position:absolute;top:7.5px;right:5px} +.minimalist .fp-mute{width:10px;height:15px;float:left;position:relative;top:-5px;left:;cursor:pointer;background-position:-2px -99px;} +.no-mute.minimalist .fp-mute{display:none} +.minimalist .fp-volumeslider{width:90px;height:5px;cursor:col-resize;float:left;} +.no-volume.minimalist .fp-volumeslider{display:none} +.minimalist .fp-volumelevel{height:100%} +.minimalist .fp-time{text-shadow:0 0 1px #000;font-size:12px;font-weight:bold;color:#fff;width:100%;} +.minimalist .fp-time.is-inverted .fp-duration{display:none} +.minimalist .fp-time.is-inverted .fp-remaining{display:inline} +.minimalist .fp-time em{width:35px;height:10px;line-height:10px;text-align:center;position:absolute;bottom:5px} +.no-time.minimalist .fp-time{display:none} +.is-long.minimalist .fp-time em{width:65px} +.minimalist .fp-elapsed{left:5px;} +.play-button.minimalist .fp-elapsed{left:27px} +.minimalist .fp-remaining,.minimalist .fp-duration{right:110px;color:#eee;} +.no-volume.minimalist .fp-remaining,.no-volume.minimalist .fp-duration{right:20px} +.no-mute.minimalist .fp-remaining,.no-mute.minimalist .fp-duration{right:5px} +.minimalist .fp-remaining{display:none} +.minimalist.color-light .fp-time{color:#222;text-shadow:0 0 1px #fff} +.minimalist.color-light .fp-remaining,.minimalist.color-light .fp-duration{color:#666} +.minimalist.aside-time .fp-time{position:absolute;top:5px;left:5px;bottom:auto !important;width:85px;} +.minimalist.aside-time .fp-time strong,.minimalist.aside-time .fp-time em{position:static} +.minimalist.aside-time .fp-time .fp-elapsed{margin-right:5px} +.minimalist.is-long.aside-time .fp-time{width:130px} +.minimalist.is-splash,.minimalist.is-poster{cursor:pointer;} +.minimalist.is-splash .fp-controls,.minimalist.is-poster .fp-controls,.minimalist.is-splash .fp-fullscreen,.minimalist.is-poster .fp-fullscreen,.minimalist.is-splash .fp-unload,.minimalist.is-poster .fp-unload,.minimalist.is-splash .fp-time,.minimalist.is-poster .fp-time,.minimalist.is-splash .fp-embed,.minimalist.is-poster .fp-embed{display:none !important} +.minimalist.is-poster .fp-engine{top:-9999em} +.minimalist.is-loading .fp-waiting{display:block} +.minimalist.is-loading .fp-controls,.minimalist.is-loading .fp-time{display:none} +.minimalist.is-loading .fp-ui{background-position:-9999em} +.minimalist.is-seeking .fp-waiting{display:block} +.minimalist.is-fullscreen{position:fixed !important;top:0 !important;left:0 !important;border:0 !important;margin:0 !important;width:100% !important;height:100% !important;max-width:100% !important;z-index:99999 !important;-webkit-box-shadow:0 !important;-moz-box-shadow:0 !important;box-shadow:0 !important;background-image:none !important;background-color:#333} +.minimalist.is-error{border:1px solid #909090;background:#fdfdfd !important;} +.minimalist.is-error h2{font-weight:bold;font-size:large;margin-top:10%} +.minimalist.is-error .fp-message{display:block} +.minimalist.is-error object,.minimalist.is-error video,.minimalist.is-error .fp-controls,.minimalist.is-error .fp-time,.minimalist.is-error .fp-subtitle{display:none} +.minimalist.is-ready.is-muted .fp-mute{opacity:.5;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50)} +.minimalist.is-mouseout .fp-controls{height:0;-webkit-transition:height .15s .3s;-moz-transition:height .15s .3s;transition:height .15s .3s} +.minimalist.is-mouseout .fp-timeline{margin:0 !important} +.minimalist.is-mouseout .fp-timeline{-webkit-transition:height .15s .3s,top .15s .3s,margin .15s .3s;-moz-transition:height .15s .3s,top .15s .3s,margin .15s .3s;transition:height .15s .3s,top .15s .3s,margin .15s .3s;height:4px;top:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0} +.minimalist.is-mouseout .fp-fullscreen,.minimalist.is-mouseout .fp-unload,.minimalist.is-mouseout .fp-elapsed,.minimalist.is-mouseout .fp-remaining,.minimalist.is-mouseout .fp-duration,.minimalist.is-mouseout .fp-embed,.minimalist.is-mouseout .fp-volume,.minimalist.is-mouseout .fp-play{opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);-webkit-transition:opacity .15s .3s;-moz-transition:opacity .15s .3s;transition:opacity .15s .3s} +.minimalist.is-mouseover .fp-controls,.minimalist.fixed-controls .fp-controls{height:20px} +.minimalist.is-mouseover .fp-fullscreen,.minimalist.fixed-controls .fp-fullscreen,.minimalist.is-mouseover .fp-unload,.minimalist.fixed-controls .fp-unload,.minimalist.is-mouseover .fp-elapsed,.minimalist.fixed-controls .fp-elapsed,.minimalist.is-mouseover .fp-remaining,.minimalist.fixed-controls .fp-remaining,.minimalist.is-mouseover .fp-duration,.minimalist.fixed-controls .fp-duration,.minimalist.is-mouseover .fp-embed,.minimalist.fixed-controls .fp-embed,.minimalist.is-mouseover .fp-logo,.minimalist.fixed-controls .fp-logo,.minimalist.is-mouseover .fp-volume,.minimalist.fixed-controls .fp-volume,.minimalist.is-mouseover .fp-play,.minimalist.fixed-controls .fp-play{opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} +.minimalist.fixed-controls .fp-volume{display:block} +.minimalist.fixed-controls .fp-controls{bottom:-20px;} +.is-fullscreen.minimalist.fixed-controls .fp-controls{bottom:0} +.minimalist.fixed-controls .fp-time em{bottom:-15px;opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);} +.is-fullscreen.minimalist.fixed-controls .fp-time em{bottom:5px} +.minimalist.is-disabled .fp-progress{background-color:#999} +.minimalist .fp-embed{position:absolute;top:5px;left:5px;display:block;width:25px;height:20px;background-position:3px -237px} +.minimalist .fp-embed-code{position:absolute;display:none;top:10px;left:40px;background-color:#333;padding:3px 5px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 0 3px #ccc;-moz-box-shadow:0 0 3px #ccc;box-shadow:0 0 3px #ccc;font-size:12px;} +.minimalist .fp-embed-code:before{content:'';width:0;height:0;position:absolute;top:2px;left:-10px;border:5px solid transparent;border-right-color:#333} +.minimalist .fp-embed-code textarea{width:400px;height:16px;font-family:monaco,"courier new",verdana;color:#777;white-space:nowrap;resize:none;overflow:hidden;border:0;outline:0;background-color:transparent;color:#ccc} +.minimalist .fp-embed-code label{display:block;color:#999} +.minimalist.is-embedding .fp-embed,.minimalist.is-embedding .fp-embed-code{display:block;opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} +.minimalist.aside-time .fp-embed{left:85px} +.minimalist.aside-time .fp-embed-code{left:115px} +.minimalist.aside-time.is-embedding .fp-time{opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} +.minimalist.is-long.aside-time .fp-embed{left:130px} +.minimalist.no-time .fp-embed{left:5px !important} +@-moz-keyframes pulse{0%{opacity:0} +100%{opacity:1} +}@-webkit-keyframes pulse{0%{opacity:0} +100%{opacity:1} +}@-o-keyframes pulse{0%{opacity:0} +100%{opacity:1} +}@-ms-keyframes pulse{0%{opacity:0} +100%{opacity:1} +}@keyframes pulse{0%{opacity:0} +100%{opacity:1} +}.minimalist .fp-controls{background-color:#333;background-color:rgba(51,51,51,0.6)} +.minimalist.fixed-controls .fp-controls{background-color:#333} +.minimalist .fp-timeline{background-color:#666} +.minimalist .fp-buffer{background-color:#eee} +.minimalist .fp-progress{background-color:#00a7c8} +.minimalist .fp-volumeslider{background-color:#000} +.minimalist .fp-volumelevel{background-color:#fff} +.minimalist .fp-play{height:24px} +.minimalist.color-light .fp-controls{background-color:rgba(255,255,255,0.6)} +.minimalist.color-light.fixed-controls .fp-controls{background-color:#fff} +.minimalist.color-light .fp-volumeslider{background-color:#ddd} +.minimalist.color-light .fp-volumelevel{background-color:#222} +.minimalist.color-alt .fp-progress{background-color:#fff} +.minimalist.color-alt .fp-buffer{background-color:#999} +.minimalist.color-alt2 .fp-progress{background-color:#900} +.functional{position:relative;width:100%;text-align:left;background-size:contain;background-repeat:no-repeat;background-position:center center;display:inline-block;} +.functional *{font-weight:inherit;font-family:inherit;font-style:inherit;text-decoration:inherit;font-size:100%;padding:0;border:0;margin:0;list-style-type:none} +.functional a:focus{outline:0} +.functional video{width:100%} +.functional.is-ipad video{-webkit-transform:translateX(-2048px);} +.is-ready.functional.is-ipad video{-webkit-transform:translateX(0)} +.functional .fp-engine,.functional .fp-ui,.functional .fp-message{position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer;z-index:1} +.functional .fp-message{display:none;text-align:center;padding-top:5%;cursor:default;} +.functional .fp-message h2{font-size:120%;margin-bottom:1em} +.functional .fp-message p{color:#666;font-size:95%} +.functional .fp-controls{position:absolute;bottom:0;width:100%;} +.no-background.functional .fp-controls{background-color:transparent !important;background-image:-moz-linear-gradient(transparent,transparent) !important;background-image:-webkit-gradient(linear,0 0,0 100%,from(transparent),to(transparent)) !important} +.is-fullscreen.functional .fp-controls{bottom:3px} +.is-mouseover.functional .fp-controls{bottom:0} +.functional .fp-waiting{display:none;margin:19% auto;text-align:center;} +.functional .fp-waiting *{-webkit-box-shadow:0 0 5px #333;-moz-box-shadow:0 0 5px #333;box-shadow:0 0 5px #333} +.functional .fp-waiting em{width:1em;height:1em;-webkit-border-radius:1em;-moz-border-radius:1em;border-radius:1em;background-color:rgba(255,255,255,0.8);display:inline-block;-webkit-animation:pulse .6s infinite;-moz-animation:pulse .6s infinite;animation:pulse .6s infinite;margin:.3em;opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);} +.functional .fp-waiting em:nth-child(1){-webkit-animation-delay:.3s;-moz-animation-delay:.3s;animation-delay:.3s} +.functional .fp-waiting em:nth-child(2){-webkit-animation-delay:.45s;-moz-animation-delay:.45s;animation-delay:.45s} +.functional .fp-waiting em:nth-child(3){-webkit-animation-delay:.6s;-moz-animation-delay:.6s;animation-delay:.6s} +.functional .fp-waiting p{color:#ccc;font-weight:bold} +.functional .fp-speed{font-size:30px;background-color:#333;background-color:rgba(51,51,51,0.8);color:#eee;margin:0 auto;text-align:center;width:120px;padding:.1em 0 0;opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);-webkit-transition:opacity .5s;-moz-transition:opacity .5s;transition:opacity .5s;} +.functional .fp-speed.fp-hilite{opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} +.functional .fp-help{position:absolute;top:0;left:-9999em;z-index:100;background-color:#333;background-color:rgba(51,51,51,0.9);width:100%;height:100%;opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);-webkit-transition:opacity .2s;-moz-transition:opacity .2s;transition:opacity .2s;text-align:center;} +.is-help.functional .fp-help{left:0;opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} +.functional .fp-help .fp-help-section{margin:3%} +.functional .fp-help .fp-help-basics{margin-top:6%} +.functional .fp-help p{color:#eee;margin:.5em 0;font-size:14px;line-height:1.5;display:inline-block;margin:1% 2%} +.functional .fp-help em{background:#eee;-webkit-border-radius:.3em;-moz-border-radius:.3em;border-radius:.3em;margin-right:.4em;padding:.3em .6em;color:#333} +.functional .fp-help small{font-size:90%;color:#aaa} +.functional .fp-help .fp-close{display:block} +@media (max-width: 600px){.functional .fp-help p{font-size:9px} +}.functional .fp-subtitle{position:absolute;bottom:40px;left:-99999em;z-index:10;text-align:center;width:100%;opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);-webkit-transition:opacity .3s;-moz-transition:opacity .3s;transition:opacity .3s;} +.functional .fp-subtitle p{display:inline;background-color:#333;background-color:rgba(51,51,51,0.9);color:#eee;padding:.1em .4em;font-size:16px;line-height:1.6;} +.functional .fp-subtitle p:after{content:'';clear:both} +.functional .fp-subtitle.fp-active{left:0;opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} +.functional .fp-fullscreen,.functional .fp-unload,.functional .fp-mute,.functional .fp-embed,.functional .fp-close,.functional .fp-play{background-image:url(img/white.png);background-size:37px 300px;} +.color-light.functional .fp-fullscreen,.color-light.functional .fp-unload,.color-light.functional .fp-mute,.color-light.functional .fp-embed,.color-light.functional .fp-close,.color-light.functional .fp-play{background-image:url(img/black.png);} +@media (-webkit-min-device-pixel-ratio: 2){.color-light.functional .fp-fullscreen,.color-light.functional .fp-unload,.color-light.functional .fp-mute,.color-light.functional .fp-embed,.color-light.functional .fp-close,.color-light.functional .fp-play{background-image:url(img/black@x2.png)} +}@media (-webkit-min-device-pixel-ratio: 2){.functional .fp-fullscreen,.functional .fp-unload,.functional .fp-mute,.functional .fp-embed,.functional .fp-close,.functional .fp-play{background-image:url(img/white@x2.png)} +}.is-splash.functional .fp-ui,.is-paused.functional .fp-ui{background:url(img/play_white.png) center no-repeat;background-size:12%;} +@media (-webkit-min-device-pixel-ratio: 2){.is-splash.functional .fp-ui,.is-paused.functional .fp-ui{background:url(img/play_white@x2.png) center no-repeat;background-size:12%} +}.color-light.is-splash.functional .fp-ui,.color-light.is-paused.functional .fp-ui{background-image:url(img/play_black.png)} +@media (-webkit-min-device-pixel-ratio: 2){.color-light.is-splash.functional .fp-ui,.color-light.is-paused.functional .fp-ui{background-image:url(img/play_black@x2.png)} +}.is-fullscreen.functional .fp-ui{background-size:auto} +.is-seeking.functional .fp-ui,.is-loading.functional .fp-ui{background-image:none} +.functional .fp-logo{position:absolute;top:auto;left:15px;bottom:40px;cursor:pointer;display:none;z-index:100;} +.functional .fp-logo img{width:100%} +.is-embedded.functional .fp-logo{display:block} +.fixed-controls.functional .fp-logo{bottom:15px} +.functional .fp-fullscreen,.functional .fp-unload,.functional .fp-close{position:absolute;top:10px;left:auto;right:10px;display:block;width:30px;height:23px;background-position:12px -197px;cursor:pointer} +.functional .fp-unload,.functional .fp-close{background-position:14px -175px;display:none} +.functional .fp-play{display:none;width:27px;height:30px;background-position:9px -24px;position:absolute;bottom:0;left:0;} +.play-button.functional .fp-play{display:block} +.is-paused.functional .fp-play{background-position:9px 7px} +.functional.is-ready.is-closeable .fp-unload{display:block} +.functional.is-ready.is-closeable .fp-fullscreen{display:none} +.functional.is-fullscreen .fp-fullscreen{background-position:10px -217px;display:block !important} +.functional.is-fullscreen .fp-unload,.functional.is-fullscreen .fp-close{display:none !important} +.functional .fp-timeline{height:3px;position:relative;overflow:hidden;top:10px;height:10px;margin:0 165px 0 55px;} +.no-volume.functional .fp-timeline{margin-right:75px} +.no-mute.functional .fp-timeline{margin-right:55px} +.play-button.functional .fp-timeline{margin-left:72px} +.is-long.functional .fp-timeline{margin:0 195px 0 85px;} +.no-volume.is-long.functional .fp-timeline{margin-right:105px} +.no-mute.is-long.functional .fp-timeline{margin-right:85px} +.play-button.is-long.functional .fp-timeline{margin-left:102px} +.aside-time.functional .fp-timeline,.no-time.functional .fp-timeline{margin:0 120px 0 10px} +.aside-time.no-volume.functional .fp-timeline,.no-time.no-volume.functional .fp-timeline{margin-right:30px} +.aside-time.no-mute.functional .fp-timeline,.no-time.no-mute.functional .fp-timeline{margin-right:10px} +.play-button.no-time.functional .fp-timeline,.play-button.aside-time.functional .fp-timeline{margin-left:27px} +.functional .fp-buffer,.functional .fp-progress{position:absolute;top:0;left:auto;height:100%;cursor:col-resize} +.functional .fp-buffer{-webkit-transition:width .25s linear;-moz-transition:width .25s linear;transition:width .25s linear} +.functional .fp-volume{position:absolute;top:11px;right:10px} +.functional .fp-mute{width:10px;height:15px;float:left;position:relative;top:-3.5px;left:;cursor:pointer;background-position:-2px -99px;} +.no-mute.functional .fp-mute{display:none} +.functional .fp-volumeslider{width:90px;height:8px;cursor:col-resize;float:left;} +.no-volume.functional .fp-volumeslider{display:none} +.functional .fp-volumelevel{height:100%} +.functional .fp-time{text-shadow:0 0 1px #000;font-size:12px;font-weight:bold;color:#fff;width:100%;} +.functional .fp-time.is-inverted .fp-duration{display:none} +.functional .fp-time.is-inverted .fp-remaining{display:inline} +.functional .fp-time em{width:35px;height:10px;line-height:10px;text-align:center;position:absolute;bottom:10px} +.no-time.functional .fp-time{display:none} +.is-long.functional .fp-time em{width:65px} +.functional .fp-elapsed{left:10px;} +.play-button.functional .fp-elapsed{left:27px} +.functional .fp-remaining,.functional .fp-duration{right:120px;color:#eee;} +.no-volume.functional .fp-remaining,.no-volume.functional .fp-duration{right:30px} +.no-mute.functional .fp-remaining,.no-mute.functional .fp-duration{right:10px} +.functional .fp-remaining{display:none} +.functional.color-light .fp-time{color:#222;text-shadow:0 0 1px #fff} +.functional.color-light .fp-remaining,.functional.color-light .fp-duration{color:#666} +.functional.aside-time .fp-time{position:absolute;top:10px;left:10px;bottom:auto !important;width:100px;} +.functional.aside-time .fp-time strong,.functional.aside-time .fp-time em{position:static} +.functional.aside-time .fp-time .fp-elapsed{margin-right:10px} +.functional.is-long.aside-time .fp-time{width:130px} +.functional.is-splash,.functional.is-poster{cursor:pointer;} +.functional.is-splash .fp-controls,.functional.is-poster .fp-controls,.functional.is-splash .fp-fullscreen,.functional.is-poster .fp-fullscreen,.functional.is-splash .fp-unload,.functional.is-poster .fp-unload,.functional.is-splash .fp-time,.functional.is-poster .fp-time,.functional.is-splash .fp-embed,.functional.is-poster .fp-embed{display:none !important} +.functional.is-poster .fp-engine{top:-9999em} +.functional.is-loading .fp-waiting{display:block} +.functional.is-loading .fp-controls,.functional.is-loading .fp-time{display:none} +.functional.is-loading .fp-ui{background-position:-9999em} +.functional.is-seeking .fp-waiting{display:block} +.functional.is-fullscreen{position:fixed !important;top:0 !important;left:0 !important;border:0 !important;margin:0 !important;width:100% !important;height:100% !important;max-width:100% !important;z-index:99999 !important;-webkit-box-shadow:0 !important;-moz-box-shadow:0 !important;box-shadow:0 !important;background-image:none !important;background-color:#333} +.functional.is-error{border:1px solid #909090;background:#fdfdfd !important;} +.functional.is-error h2{font-weight:bold;font-size:large;margin-top:10%} +.functional.is-error .fp-message{display:block} +.functional.is-error object,.functional.is-error video,.functional.is-error .fp-controls,.functional.is-error .fp-time,.functional.is-error .fp-subtitle{display:none} +.functional.is-ready.is-muted .fp-mute{opacity:.5;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50)} +.functional.is-mouseout .fp-controls{height:0;-webkit-transition:height .15s .3s;-moz-transition:height .15s .3s;transition:height .15s .3s} +.functional.is-mouseout .fp-timeline{margin:0 !important} +.functional.is-mouseout .fp-timeline{-webkit-transition:height .15s .3s,top .15s .3s,margin .15s .3s;-moz-transition:height .15s .3s,top .15s .3s,margin .15s .3s;transition:height .15s .3s,top .15s .3s,margin .15s .3s;height:4px;top:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0} +.functional.is-mouseout .fp-fullscreen,.functional.is-mouseout .fp-unload,.functional.is-mouseout .fp-elapsed,.functional.is-mouseout .fp-remaining,.functional.is-mouseout .fp-duration,.functional.is-mouseout .fp-embed,.functional.is-mouseout .fp-volume,.functional.is-mouseout .fp-play{opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);-webkit-transition:opacity .15s .3s;-moz-transition:opacity .15s .3s;transition:opacity .15s .3s} +.functional.is-mouseover .fp-controls,.functional.fixed-controls .fp-controls{height:30px} +.functional.is-mouseover .fp-fullscreen,.functional.fixed-controls .fp-fullscreen,.functional.is-mouseover .fp-unload,.functional.fixed-controls .fp-unload,.functional.is-mouseover .fp-elapsed,.functional.fixed-controls .fp-elapsed,.functional.is-mouseover .fp-remaining,.functional.fixed-controls .fp-remaining,.functional.is-mouseover .fp-duration,.functional.fixed-controls .fp-duration,.functional.is-mouseover .fp-embed,.functional.fixed-controls .fp-embed,.functional.is-mouseover .fp-logo,.functional.fixed-controls .fp-logo,.functional.is-mouseover .fp-volume,.functional.fixed-controls .fp-volume,.functional.is-mouseover .fp-play,.functional.fixed-controls .fp-play{opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} +.functional.fixed-controls .fp-volume{display:block} +.functional.fixed-controls .fp-controls{bottom:-30px;} +.is-fullscreen.functional.fixed-controls .fp-controls{bottom:0} +.functional.fixed-controls .fp-time em{bottom:-20px;opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);} +.is-fullscreen.functional.fixed-controls .fp-time em{bottom:10px} +.functional.is-disabled .fp-progress{background-color:#999} +.functional .fp-embed{position:absolute;top:10px;left:10px;display:block;width:25px;height:20px;background-position:3px -237px} +.functional .fp-embed-code{position:absolute;display:none;top:10px;left:40px;background-color:#333;padding:3px 5px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 0 3px #ccc;-moz-box-shadow:0 0 3px #ccc;box-shadow:0 0 3px #ccc;font-size:12px;} +.functional .fp-embed-code:before{content:'';width:0;height:0;position:absolute;top:2px;left:-10px;border:5px solid transparent;border-right-color:#333} +.functional .fp-embed-code textarea{width:400px;height:16px;font-family:monaco,"courier new",verdana;color:#777;white-space:nowrap;resize:none;overflow:hidden;border:0;outline:0;background-color:transparent;color:#ccc} +.functional .fp-embed-code label{display:block;color:#999} +.functional.is-embedding .fp-embed,.functional.is-embedding .fp-embed-code{display:block;opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} +.functional.aside-time .fp-embed{left:100px} +.functional.aside-time .fp-embed-code{left:130px} +.functional.aside-time.is-embedding .fp-time{opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} +.functional.is-long.aside-time .fp-embed{left:130px} +.functional.no-time .fp-embed{left:10px !important} +@-moz-keyframes pulse{0%{opacity:0} +100%{opacity:1} +}@-webkit-keyframes pulse{0%{opacity:0} +100%{opacity:1} +}@-o-keyframes pulse{0%{opacity:0} +100%{opacity:1} +}@-ms-keyframes pulse{0%{opacity:0} +100%{opacity:1} +}@keyframes pulse{0%{opacity:0} +100%{opacity:1} +}.functional .fp-controls{background-color:#111} +.functional .fp-timeline{background-color:#555} +.functional .fp-buffer{background-color:#eee} +.functional .fp-progress{background-color:#4da5d8} +.functional .fp-volumelevel{background-color:#fff} +.functional .fp-volumeslider{background-color:#555} +.functional .fp-timeline,.functional .fp-volumeslider{border:1px inset;border-color:rgba(0,0,0,0.2) rgba(17,17,17,0.05)} +.functional .fp-controls,.functional .fp-progress{background-image:-moz-linear-gradient(rgba(255,255,255,0.4),rgba(255,255,255,0.01));background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(255,255,255,0.4)),to(rgba(255,255,255,0.01)))} +.functional .fp-timeline,.functional .fp-buffer,.functional .fp-progress,.functional .fp-volumeslider,.functional .fp-volumelevel{-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px} +.functional.color-light .fp-controls{background-color:#eee;background-image:-moz-linear-gradient(rgba(0,0,0,0.01),rgba(0,0,0,0.3));background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(0,0,0,0.01)),to(rgba(0,0,0,0.3)))} +.functional.color-light .fp-timeline,.functional.color-light .fp-volumeslider{border-color:#eee #ccc} +.functional.color-light .fp-timeline,.functional.color-light .fp-volumeslider{background-color:#ccc;font-size:10px} +.functional.color-alt .fp-progress{background-image:-moz-linear-gradient(#999,#111);background-image:-webkit-gradient(linear,0 0,0 100%,from(#999),to(#111))} +.functional.color-alt .fp-timeline,.functional.color-alt .fp-volumeslider{background-color:#111} +.functional.color-alt2 .fp-progress{background-color:#900} +.playful{position:relative;width:100%;text-align:left;background-size:contain;background-repeat:no-repeat;background-position:center center;display:inline-block;} +.playful *{font-weight:inherit;font-family:inherit;font-style:inherit;text-decoration:inherit;font-size:100%;padding:0;border:0;margin:0;list-style-type:none} +.playful a:focus{outline:0} +.playful video{width:100%} +.playful.is-ipad video{-webkit-transform:translateX(-2048px);} +.is-ready.playful.is-ipad video{-webkit-transform:translateX(0)} +.playful .fp-engine,.playful .fp-ui,.playful .fp-message{position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer;z-index:1} +.playful .fp-message{display:none;text-align:center;padding-top:5%;cursor:default;} +.playful .fp-message h2{font-size:120%;margin-bottom:1em} +.playful .fp-message p{color:#666;font-size:95%} +.playful .fp-controls{position:absolute;bottom:0;width:100%;} +.no-background.playful .fp-controls{background-color:transparent !important;background-image:-moz-linear-gradient(transparent,transparent) !important;background-image:-webkit-gradient(linear,0 0,0 100%,from(transparent),to(transparent)) !important} +.is-fullscreen.playful .fp-controls{bottom:3px} +.is-mouseover.playful .fp-controls{bottom:0} +.playful .fp-waiting{display:none;margin:19% auto;text-align:center;} +.playful .fp-waiting *{-webkit-box-shadow:0 0 5px #333;-moz-box-shadow:0 0 5px #333;box-shadow:0 0 5px #333} +.playful .fp-waiting em{width:1em;height:1em;-webkit-border-radius:1em;-moz-border-radius:1em;border-radius:1em;background-color:rgba(255,255,255,0.8);display:inline-block;-webkit-animation:pulse .6s infinite;-moz-animation:pulse .6s infinite;animation:pulse .6s infinite;margin:.3em;opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);} +.playful .fp-waiting em:nth-child(1){-webkit-animation-delay:.3s;-moz-animation-delay:.3s;animation-delay:.3s} +.playful .fp-waiting em:nth-child(2){-webkit-animation-delay:.45s;-moz-animation-delay:.45s;animation-delay:.45s} +.playful .fp-waiting em:nth-child(3){-webkit-animation-delay:.6s;-moz-animation-delay:.6s;animation-delay:.6s} +.playful .fp-waiting p{color:#ccc;font-weight:bold} +.playful .fp-speed{font-size:30px;background-color:#333;background-color:rgba(51,51,51,0.8);color:#eee;margin:0 auto;text-align:center;width:120px;padding:.1em 0 0;opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);-webkit-transition:opacity .5s;-moz-transition:opacity .5s;transition:opacity .5s;} +.playful .fp-speed.fp-hilite{opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} +.playful .fp-help{position:absolute;top:0;left:-9999em;z-index:100;background-color:#333;background-color:rgba(51,51,51,0.9);width:100%;height:100%;opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);-webkit-transition:opacity .2s;-moz-transition:opacity .2s;transition:opacity .2s;text-align:center;} +.is-help.playful .fp-help{left:0;opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} +.playful .fp-help .fp-help-section{margin:3%} +.playful .fp-help .fp-help-basics{margin-top:6%} +.playful .fp-help p{color:#eee;margin:.5em 0;font-size:14px;line-height:1.5;display:inline-block;margin:1% 2%} +.playful .fp-help em{background:#eee;-webkit-border-radius:.3em;-moz-border-radius:.3em;border-radius:.3em;margin-right:.4em;padding:.3em .6em;color:#333} +.playful .fp-help small{font-size:90%;color:#aaa} +.playful .fp-help .fp-close{display:block} +@media (max-width: 600px){.playful .fp-help p{font-size:9px} +}.playful .fp-subtitle{position:absolute;bottom:40px;left:-99999em;z-index:10;text-align:center;width:100%;opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);-webkit-transition:opacity .3s;-moz-transition:opacity .3s;transition:opacity .3s;} +.playful .fp-subtitle p{display:inline;background-color:#333;background-color:rgba(51,51,51,0.9);color:#eee;padding:.1em .4em;font-size:16px;line-height:1.6;} +.playful .fp-subtitle p:after{content:'';clear:both} +.playful .fp-subtitle.fp-active{left:0;opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} +.playful .fp-fullscreen,.playful .fp-unload,.playful .fp-mute,.playful .fp-embed,.playful .fp-close,.playful .fp-play{background-image:url(img/playful_white.png);background-size:37px 300px;} +.color-light.playful .fp-fullscreen,.color-light.playful .fp-unload,.color-light.playful .fp-mute,.color-light.playful .fp-embed,.color-light.playful .fp-close,.color-light.playful .fp-play{background-image:url(img/playful_black.png);} +@media (-webkit-min-device-pixel-ratio: 2){.color-light.playful .fp-fullscreen,.color-light.playful .fp-unload,.color-light.playful .fp-mute,.color-light.playful .fp-embed,.color-light.playful .fp-close,.color-light.playful .fp-play{background-image:url(img/playful_black@x2.png)} +}@media (-webkit-min-device-pixel-ratio: 2){.playful .fp-fullscreen,.playful .fp-unload,.playful .fp-mute,.playful .fp-embed,.playful .fp-close,.playful .fp-play{background-image:url(img/playful_white@x2.png)} +}.is-splash.playful .fp-ui,.is-paused.playful .fp-ui{background:url(img/play_white.png) center no-repeat;background-size:12%;} +@media (-webkit-min-device-pixel-ratio: 2){.is-splash.playful .fp-ui,.is-paused.playful .fp-ui{background:url(img/play_white@x2.png) center no-repeat;background-size:12%} +}.color-light.is-splash.playful .fp-ui,.color-light.is-paused.playful .fp-ui{background-image:url(img/play_black.png)} +@media (-webkit-min-device-pixel-ratio: 2){.color-light.is-splash.playful .fp-ui,.color-light.is-paused.playful .fp-ui{background-image:url(img/play_black@x2.png)} +}.is-fullscreen.playful .fp-ui{background-size:auto} +.is-seeking.playful .fp-ui,.is-loading.playful .fp-ui{background-image:none} +.playful .fp-logo{position:absolute;top:auto;left:15px;bottom:45px;cursor:pointer;display:none;z-index:100;} +.playful .fp-logo img{width:100%} +.is-embedded.playful .fp-logo{display:block} +.fixed-controls.playful .fp-logo{bottom:15px} +.playful .fp-fullscreen,.playful .fp-unload,.playful .fp-close{position:absolute;top:12px;left:auto;right:12px;display:block;width:30px;height:23px;background-position:12px -197px;cursor:pointer} +.playful .fp-unload,.playful .fp-close{background-position:14px -175px;display:none} +.playful .fp-play{display:none;width:27px;height:35px;background-position:9px -24px;position:absolute;bottom:0;left:0;} +.play-button.playful .fp-play{display:block} +.is-paused.playful .fp-play{background-position:9px 7px} +.playful.is-ready.is-closeable .fp-unload{display:block} +.playful.is-ready.is-closeable .fp-fullscreen{display:none} +.playful.is-fullscreen .fp-fullscreen{background-position:10px -217px;display:block !important} +.playful.is-fullscreen .fp-unload,.playful.is-fullscreen .fp-close{display:none !important} +.playful .fp-timeline{height:3px;position:relative;overflow:hidden;top:12px;height:11px;margin:0 199px 0 59px;} +.no-volume.playful .fp-timeline{margin-right:109px} +.no-mute.playful .fp-timeline{margin-right:59px} +.play-button.playful .fp-timeline{margin-left:74px} +.is-long.playful .fp-timeline{margin:0 229px 0 89px;} +.no-volume.is-long.playful .fp-timeline{margin-right:139px} +.no-mute.is-long.playful .fp-timeline{margin-right:89px} +.play-button.is-long.playful .fp-timeline{margin-left:104px} +.aside-time.playful .fp-timeline,.no-time.playful .fp-timeline{margin:0 152px 0 12px} +.aside-time.no-volume.playful .fp-timeline,.no-time.no-volume.playful .fp-timeline{margin-right:62px} +.aside-time.no-mute.playful .fp-timeline,.no-time.no-mute.playful .fp-timeline{margin-right:12px} +.play-button.no-time.playful .fp-timeline,.play-button.aside-time.playful .fp-timeline{margin-left:27px} +.playful .fp-buffer,.playful .fp-progress{position:absolute;top:0;left:auto;height:100%;cursor:col-resize} +.playful .fp-buffer{-webkit-transition:width .25s linear;-moz-transition:width .25s linear;transition:width .25s linear} +.playful .fp-volume{position:absolute;top:12px;right:12px} +.playful .fp-mute{width:38px;height:20px;float:left;position:relative;top:-4.5px;left:;cursor:pointer;background-position:-2px -99px;} +.no-mute.playful .fp-mute{display:none} +.playful .fp-volumeslider{width:90px;height:11px;cursor:col-resize;float:left;} +.no-volume.playful .fp-volumeslider{display:none} +.playful .fp-volumelevel{height:100%} +.playful .fp-time{text-shadow:0 0 1px #000;font-size:12px;font-weight:bold;color:#fff;width:100%;} +.playful .fp-time.is-inverted .fp-duration{display:none} +.playful .fp-time.is-inverted .fp-remaining{display:inline} +.playful .fp-time em{width:35px;height:11px;line-height:11px;text-align:center;position:absolute;bottom:12px} +.no-time.playful .fp-time{display:none} +.is-long.playful .fp-time em{width:65px} +.playful .fp-elapsed{left:12px;} +.play-button.playful .fp-elapsed{left:27px} +.playful .fp-remaining,.playful .fp-duration{right:152px;color:#eee;} +.no-volume.playful .fp-remaining,.no-volume.playful .fp-duration{right:62px} +.no-mute.playful .fp-remaining,.no-mute.playful .fp-duration{right:12px} +.playful .fp-remaining{display:none} +.playful.color-light .fp-time{color:#222;text-shadow:0 0 1px #fff} +.playful.color-light .fp-remaining,.playful.color-light .fp-duration{color:#666} +.playful.aside-time .fp-time{position:absolute;top:12px;left:12px;bottom:auto !important;width:110px;} +.playful.aside-time .fp-time strong,.playful.aside-time .fp-time em{position:static} +.playful.aside-time .fp-time .fp-elapsed{margin-right:12px} +.playful.is-long.aside-time .fp-time{width:130px} +.playful.is-splash,.playful.is-poster{cursor:pointer;} +.playful.is-splash .fp-controls,.playful.is-poster .fp-controls,.playful.is-splash .fp-fullscreen,.playful.is-poster .fp-fullscreen,.playful.is-splash .fp-unload,.playful.is-poster .fp-unload,.playful.is-splash .fp-time,.playful.is-poster .fp-time,.playful.is-splash .fp-embed,.playful.is-poster .fp-embed{display:none !important} +.playful.is-poster .fp-engine{top:-9999em} +.playful.is-loading .fp-waiting{display:block} +.playful.is-loading .fp-controls,.playful.is-loading .fp-time{display:none} +.playful.is-loading .fp-ui{background-position:-9999em} +.playful.is-seeking .fp-waiting{display:block} +.playful.is-fullscreen{position:fixed !important;top:0 !important;left:0 !important;border:0 !important;margin:0 !important;width:100% !important;height:100% !important;max-width:100% !important;z-index:99999 !important;-webkit-box-shadow:0 !important;-moz-box-shadow:0 !important;box-shadow:0 !important;background-image:none !important;background-color:#333} +.playful.is-error{border:1px solid #909090;background:#fdfdfd !important;} +.playful.is-error h2{font-weight:bold;font-size:large;margin-top:10%} +.playful.is-error .fp-message{display:block} +.playful.is-error object,.playful.is-error video,.playful.is-error .fp-controls,.playful.is-error .fp-time,.playful.is-error .fp-subtitle{display:none} +.playful.is-ready.is-muted .fp-mute{opacity:.5;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50)} +.playful.is-mouseout .fp-controls{height:0;-webkit-transition:height .15s .3s;-moz-transition:height .15s .3s;transition:height .15s .3s} +.playful.is-mouseout .fp-timeline{margin:0 !important} +.playful.is-mouseout .fp-timeline{-webkit-transition:height .15s .3s,top .15s .3s,margin .15s .3s;-moz-transition:height .15s .3s,top .15s .3s,margin .15s .3s;transition:height .15s .3s,top .15s .3s,margin .15s .3s;height:4px;top:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0} +.playful.is-mouseout .fp-fullscreen,.playful.is-mouseout .fp-unload,.playful.is-mouseout .fp-elapsed,.playful.is-mouseout .fp-remaining,.playful.is-mouseout .fp-duration,.playful.is-mouseout .fp-embed,.playful.is-mouseout .fp-volume,.playful.is-mouseout .fp-play{opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);-webkit-transition:opacity .15s .3s;-moz-transition:opacity .15s .3s;transition:opacity .15s .3s} +.playful.is-mouseover .fp-controls,.playful.fixed-controls .fp-controls{height:35px} +.playful.is-mouseover .fp-fullscreen,.playful.fixed-controls .fp-fullscreen,.playful.is-mouseover .fp-unload,.playful.fixed-controls .fp-unload,.playful.is-mouseover .fp-elapsed,.playful.fixed-controls .fp-elapsed,.playful.is-mouseover .fp-remaining,.playful.fixed-controls .fp-remaining,.playful.is-mouseover .fp-duration,.playful.fixed-controls .fp-duration,.playful.is-mouseover .fp-embed,.playful.fixed-controls .fp-embed,.playful.is-mouseover .fp-logo,.playful.fixed-controls .fp-logo,.playful.is-mouseover .fp-volume,.playful.fixed-controls .fp-volume,.playful.is-mouseover .fp-play,.playful.fixed-controls .fp-play{opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} +.playful.fixed-controls .fp-volume{display:block} +.playful.fixed-controls .fp-controls{bottom:-35px;} +.is-fullscreen.playful.fixed-controls .fp-controls{bottom:0} +.playful.fixed-controls .fp-time em{bottom:-23px;opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);} +.is-fullscreen.playful.fixed-controls .fp-time em{bottom:12px} +.playful.is-disabled .fp-progress{background-color:#999} +.playful .fp-embed{position:absolute;top:12px;left:12px;display:block;width:25px;height:20px;background-position:3px -237px} +.playful .fp-embed-code{position:absolute;display:none;top:10px;left:40px;background-color:#333;padding:3px 5px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 0 3px #ccc;-moz-box-shadow:0 0 3px #ccc;box-shadow:0 0 3px #ccc;font-size:12px;} +.playful .fp-embed-code:before{content:'';width:0;height:0;position:absolute;top:2px;left:-10px;border:5px solid transparent;border-right-color:#333} +.playful .fp-embed-code textarea{width:400px;height:16px;font-family:monaco,"courier new",verdana;color:#777;white-space:nowrap;resize:none;overflow:hidden;border:0;outline:0;background-color:transparent;color:#ccc} +.playful .fp-embed-code label{display:block;color:#999} +.playful.is-embedding .fp-embed,.playful.is-embedding .fp-embed-code{display:block;opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} +.playful.aside-time .fp-embed{left:110px} +.playful.aside-time .fp-embed-code{left:140px} +.playful.aside-time.is-embedding .fp-time{opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} +.playful.is-long.aside-time .fp-embed{left:130px} +.playful.no-time .fp-embed{left:12px !important} +@-moz-keyframes pulse{0%{opacity:0} +100%{opacity:1} +}@-webkit-keyframes pulse{0%{opacity:0} +100%{opacity:1} +}@-o-keyframes pulse{0%{opacity:0} +100%{opacity:1} +}@-ms-keyframes pulse{0%{opacity:0} +100%{opacity:1} +}@keyframes pulse{0%{opacity:0} +100%{opacity:1} +}.playful .fp-controls{background-color:#111} +.playful .fp-timeline,.playful .fp-volumeslider{background-color:#555;background-image:-moz-linear-gradient(rgba(255,255,255,0.01),rgba(255,255,255,0.3));background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(255,255,255,0.01)),to(rgba(255,255,255,0.3)))} +.playful .fp-buffer{background-color:#eee} +.playful .fp-progress{background-color:#008000} +.playful .fp-volumelevel{background-color:#fff} +.playful .fp-mute{display:block;width:38px;height:20px;background-position:0 -79px;} +.is-muted.playful .fp-mute{background-position:0 -109px;opacity:.85;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=85)} +.playful .fp-play{background-position:9px -20px;} +.is-paused.playful .fp-play{background-position:9px 11px} +.playful .fp-timeline,.playful .fp-volumeslider{border:1px inset;border-color:rgba(0,0,0,0.3) rgba(17,17,17,0.05)} +.playful .fp-controls,.playful .fp-progress{background-image:-moz-linear-gradient(rgba(255,255,255,0.3),rgba(255,255,255,0.01));background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(255,255,255,0.3)),to(rgba(255,255,255,0.01)))} +.playful .fp-timeline,.playful .fp-progress,.playful .fp-buffer,.playful .fp-volumeslider,.playful .fp-volumelevel{-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px} +.playful.color-light .fp-controls{background-color:#eee;background-image:-moz-linear-gradient(rgba(0,0,0,0.01),rgba(0,0,0,0.3));background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(0,0,0,0.01)),to(rgba(0,0,0,0.3)))} +.playful.color-light .fp-timeline,.playful.color-light .fp-volumeslider{border-color:#eee #ccc} +.playful.color-alt .fp-progress,.playful.color-alt .fp-volumelevel{background-color:#111} +.playful.color-alt2 .fp-progress,.playful.color-alt2 .fp-volumelevel{background-color:#900} diff --git a/wp-content/plugins/ai-embed/flowplayer/skin/functional.css b/wp-content/plugins/ai-embed/flowplayer/skin/functional.css new file mode 100644 index 0000000000000000000000000000000000000000..df98b4ea701b8d17bf173863446c1c9f5115f3d6 --- /dev/null +++ b/wp-content/plugins/ai-embed/flowplayer/skin/functional.css @@ -0,0 +1,158 @@ +.flowplayer{position:relative;width:100%;text-align:left;background-size:contain;background-repeat:no-repeat;background-position:center center;display:inline-block;} +.flowplayer *{font-weight:inherit;font-family:inherit;font-style:inherit;text-decoration:inherit;font-size:100%;padding:0;border:0;margin:0;list-style-type:none} +.flowplayer a:focus{outline:0} +.flowplayer video{width:100%} +.flowplayer.is-ipad video{-webkit-transform:translateX(-2048px);} +.is-ready.flowplayer.is-ipad video{-webkit-transform:translateX(0)} +.flowplayer .fp-engine,.flowplayer .fp-ui,.flowplayer .fp-message{position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer;z-index:1} +.flowplayer .fp-message{display:none;text-align:center;padding-top:5%;cursor:default;} +.flowplayer .fp-message h2{font-size:120%;margin-bottom:1em} +.flowplayer .fp-message p{color:#666;font-size:95%} +.flowplayer .fp-controls{position:absolute;bottom:0;width:100%;} +.no-background.flowplayer .fp-controls{background-color:transparent !important;background-image:-moz-linear-gradient(transparent,transparent) !important;background-image:-webkit-gradient(linear,0 0,0 100%,from(transparent),to(transparent)) !important} +.is-fullscreen.flowplayer .fp-controls{bottom:3px} +.is-mouseover.flowplayer .fp-controls{bottom:0} +.flowplayer .fp-waiting{display:none;margin:19% auto;text-align:center;} +.flowplayer .fp-waiting *{-webkit-box-shadow:0 0 5px #333;-moz-box-shadow:0 0 5px #333;box-shadow:0 0 5px #333} +.flowplayer .fp-waiting em{width:1em;height:1em;-webkit-border-radius:1em;-moz-border-radius:1em;border-radius:1em;background-color:rgba(255,255,255,0.8);display:inline-block;-webkit-animation:pulse .6s infinite;-moz-animation:pulse .6s infinite;animation:pulse .6s infinite;margin:.3em;opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);} +.flowplayer .fp-waiting em:nth-child(1){-webkit-animation-delay:.3s;-moz-animation-delay:.3s;animation-delay:.3s} +.flowplayer .fp-waiting em:nth-child(2){-webkit-animation-delay:.45s;-moz-animation-delay:.45s;animation-delay:.45s} +.flowplayer .fp-waiting em:nth-child(3){-webkit-animation-delay:.6s;-moz-animation-delay:.6s;animation-delay:.6s} +.flowplayer .fp-waiting p{color:#ccc;font-weight:bold} +.flowplayer .fp-speed{font-size:30px;background-color:#333;background-color:rgba(51,51,51,0.8);color:#eee;margin:0 auto;text-align:center;width:120px;padding:.1em 0 0;opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);-webkit-transition:opacity .5s;-moz-transition:opacity .5s;transition:opacity .5s;} +.flowplayer .fp-speed.fp-hilite{opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} +.flowplayer .fp-help{position:absolute;top:0;left:-9999em;z-index:100;background-color:#333;background-color:rgba(51,51,51,0.9);width:100%;height:100%;opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);-webkit-transition:opacity .2s;-moz-transition:opacity .2s;transition:opacity .2s;text-align:center;} +.is-help.flowplayer .fp-help{left:0;opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} +.flowplayer .fp-help .fp-help-section{margin:3%} +.flowplayer .fp-help .fp-help-basics{margin-top:6%} +.flowplayer .fp-help p{color:#eee;margin:.5em 0;font-size:14px;line-height:1.5;display:inline-block;margin:1% 2%} +.flowplayer .fp-help em{background:#eee;-webkit-border-radius:.3em;-moz-border-radius:.3em;border-radius:.3em;margin-right:.4em;padding:.3em .6em;color:#333} +.flowplayer .fp-help small{font-size:90%;color:#aaa} +.flowplayer .fp-help .fp-close{display:block} +@media (max-width: 600px){.flowplayer .fp-help p{font-size:9px} +}.flowplayer .fp-subtitle{position:absolute;bottom:40px;left:-99999em;z-index:10;text-align:center;width:100%;opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);-webkit-transition:opacity .3s;-moz-transition:opacity .3s;transition:opacity .3s;} +.flowplayer .fp-subtitle p{display:inline;background-color:#333;background-color:rgba(51,51,51,0.9);color:#eee;padding:.1em .4em;font-size:16px;line-height:1.6;} +.flowplayer .fp-subtitle p:after{content:'';clear:both} +.flowplayer .fp-subtitle.fp-active{left:0;opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} +.flowplayer .fp-fullscreen,.flowplayer .fp-unload,.flowplayer .fp-mute,.flowplayer .fp-embed,.flowplayer .fp-close,.flowplayer .fp-play{background-image:url(img/white.png);background-size:37px 300px;} +.color-light.flowplayer .fp-fullscreen,.color-light.flowplayer .fp-unload,.color-light.flowplayer .fp-mute,.color-light.flowplayer .fp-embed,.color-light.flowplayer .fp-close,.color-light.flowplayer .fp-play{background-image:url(img/black.png);} +@media (-webkit-min-device-pixel-ratio: 2){.color-light.flowplayer .fp-fullscreen,.color-light.flowplayer .fp-unload,.color-light.flowplayer .fp-mute,.color-light.flowplayer .fp-embed,.color-light.flowplayer .fp-close,.color-light.flowplayer .fp-play{background-image:url(img/black@x2.png)} +}@media (-webkit-min-device-pixel-ratio: 2){.flowplayer .fp-fullscreen,.flowplayer .fp-unload,.flowplayer .fp-mute,.flowplayer .fp-embed,.flowplayer .fp-close,.flowplayer .fp-play{background-image:url(img/white@x2.png)} +}.is-splash.flowplayer .fp-ui,.is-paused.flowplayer .fp-ui{background:url(img/play_white.png) center no-repeat;background-size:12%;} +@media (-webkit-min-device-pixel-ratio: 2){.is-splash.flowplayer .fp-ui,.is-paused.flowplayer .fp-ui{background:url(img/play_white@x2.png) center no-repeat;background-size:12%} +}.color-light.is-splash.flowplayer .fp-ui,.color-light.is-paused.flowplayer .fp-ui{background-image:url(img/play_black.png)} +@media (-webkit-min-device-pixel-ratio: 2){.color-light.is-splash.flowplayer .fp-ui,.color-light.is-paused.flowplayer .fp-ui{background-image:url(img/play_black@x2.png)} +}.is-fullscreen.flowplayer .fp-ui{background-size:auto} +.is-seeking.flowplayer .fp-ui,.is-loading.flowplayer .fp-ui{background-image:none} +.flowplayer .fp-logo{position:absolute;top:auto;left:15px;bottom:40px;cursor:pointer;display:none;z-index:100;} +.flowplayer .fp-logo img{width:100%} +.is-embedded.flowplayer .fp-logo{display:block} +.fixed-controls.flowplayer .fp-logo{bottom:15px} +.flowplayer .fp-fullscreen,.flowplayer .fp-unload,.flowplayer .fp-close{position:absolute;top:10px;left:auto;right:10px;display:block;width:30px;height:23px;background-position:12px -197px;cursor:pointer} +.flowplayer .fp-unload,.flowplayer .fp-close{background-position:14px -175px;display:none} +.flowplayer .fp-play{display:none;width:27px;height:30px;background-position:9px -24px;position:absolute;bottom:0;left:0;} +.play-button.flowplayer .fp-play{display:block} +.is-paused.flowplayer .fp-play{background-position:9px 7px} +.flowplayer.is-ready.is-closeable .fp-unload{display:block} +.flowplayer.is-ready.is-closeable .fp-fullscreen{display:none} +.flowplayer.is-fullscreen .fp-fullscreen{background-position:10px -217px;display:block !important} +.flowplayer.is-fullscreen .fp-unload,.flowplayer.is-fullscreen .fp-close{display:none !important} +.flowplayer .fp-timeline{height:3px;position:relative;overflow:hidden;top:10px;height:10px;margin:0 165px 0 55px;} +.no-volume.flowplayer .fp-timeline{margin-right:75px} +.no-mute.flowplayer .fp-timeline{margin-right:55px} +.play-button.flowplayer .fp-timeline{margin-left:72px} +.is-long.flowplayer .fp-timeline{margin:0 195px 0 85px;} +.no-volume.is-long.flowplayer .fp-timeline{margin-right:105px} +.no-mute.is-long.flowplayer .fp-timeline{margin-right:85px} +.play-button.is-long.flowplayer .fp-timeline{margin-left:102px} +.aside-time.flowplayer .fp-timeline,.no-time.flowplayer .fp-timeline{margin:0 120px 0 10px} +.aside-time.no-volume.flowplayer .fp-timeline,.no-time.no-volume.flowplayer .fp-timeline{margin-right:30px} +.aside-time.no-mute.flowplayer .fp-timeline,.no-time.no-mute.flowplayer .fp-timeline{margin-right:10px} +.play-button.no-time.flowplayer .fp-timeline,.play-button.aside-time.flowplayer .fp-timeline{margin-left:27px} +.flowplayer .fp-buffer,.flowplayer .fp-progress{position:absolute;top:0;left:auto;height:100%;cursor:col-resize} +.flowplayer .fp-buffer{-webkit-transition:width .25s linear;-moz-transition:width .25s linear;transition:width .25s linear} +.flowplayer .fp-volume{position:absolute;top:11px;right:10px} +.flowplayer .fp-mute{width:10px;height:15px;float:left;position:relative;top:-3.5px;left:;cursor:pointer;background-position:-2px -99px;} +.no-mute.flowplayer .fp-mute{display:none} +.flowplayer .fp-volumeslider{width:90px;height:8px;cursor:col-resize;float:left;} +.no-volume.flowplayer .fp-volumeslider{display:none} +.flowplayer .fp-volumelevel{height:100%} +.flowplayer .fp-time{text-shadow:0 0 1px #000;font-size:12px;font-weight:bold;color:#fff;width:100%;} +.flowplayer .fp-time.is-inverted .fp-duration{display:none} +.flowplayer .fp-time.is-inverted .fp-remaining{display:inline} +.flowplayer .fp-time em{width:35px;height:10px;line-height:10px;text-align:center;position:absolute;bottom:10px} +.no-time.flowplayer .fp-time{display:none} +.is-long.flowplayer .fp-time em{width:65px} +.flowplayer .fp-elapsed{left:10px;} +.play-button.flowplayer .fp-elapsed{left:27px} +.flowplayer .fp-remaining,.flowplayer .fp-duration{right:120px;color:#eee;} +.no-volume.flowplayer .fp-remaining,.no-volume.flowplayer .fp-duration{right:30px} +.no-mute.flowplayer .fp-remaining,.no-mute.flowplayer .fp-duration{right:10px} +.flowplayer .fp-remaining{display:none} +.flowplayer.color-light .fp-time{color:#222;text-shadow:0 0 1px #fff} +.flowplayer.color-light .fp-remaining,.flowplayer.color-light .fp-duration{color:#666} +.flowplayer.aside-time .fp-time{position:absolute;top:10px;left:10px;bottom:auto !important;width:100px;} +.flowplayer.aside-time .fp-time strong,.flowplayer.aside-time .fp-time em{position:static} +.flowplayer.aside-time .fp-time .fp-elapsed{margin-right:10px} +.flowplayer.is-long.aside-time .fp-time{width:130px} +.flowplayer.is-splash,.flowplayer.is-poster{cursor:pointer;} +.flowplayer.is-splash .fp-controls,.flowplayer.is-poster .fp-controls,.flowplayer.is-splash .fp-fullscreen,.flowplayer.is-poster .fp-fullscreen,.flowplayer.is-splash .fp-unload,.flowplayer.is-poster .fp-unload,.flowplayer.is-splash .fp-time,.flowplayer.is-poster .fp-time,.flowplayer.is-splash .fp-embed,.flowplayer.is-poster .fp-embed{display:none !important} +.flowplayer.is-poster .fp-engine{top:-9999em} +.flowplayer.is-loading .fp-waiting{display:block} +.flowplayer.is-loading .fp-controls,.flowplayer.is-loading .fp-time{display:none} +.flowplayer.is-loading .fp-ui{background-position:-9999em} +.flowplayer.is-seeking .fp-waiting{display:block} +.flowplayer.is-fullscreen{position:fixed !important;top:0 !important;left:0 !important;border:0 !important;margin:0 !important;width:100% !important;height:100% !important;max-width:100% !important;z-index:99999 !important;-webkit-box-shadow:0 !important;-moz-box-shadow:0 !important;box-shadow:0 !important;background-image:none !important;background-color:#333} +.flowplayer.is-error{border:1px solid #909090;background:#fdfdfd !important;} +.flowplayer.is-error h2{font-weight:bold;font-size:large;margin-top:10%} +.flowplayer.is-error .fp-message{display:block} +.flowplayer.is-error object,.flowplayer.is-error video,.flowplayer.is-error .fp-controls,.flowplayer.is-error .fp-time,.flowplayer.is-error .fp-subtitle{display:none} +.flowplayer.is-ready.is-muted .fp-mute{opacity:.5;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50)} +.flowplayer.is-mouseout .fp-controls{height:0;-webkit-transition:height .15s .3s;-moz-transition:height .15s .3s;transition:height .15s .3s} +.flowplayer.is-mouseout .fp-timeline{margin:0 !important} +.flowplayer.is-mouseout .fp-timeline{-webkit-transition:height .15s .3s,top .15s .3s,margin .15s .3s;-moz-transition:height .15s .3s,top .15s .3s,margin .15s .3s;transition:height .15s .3s,top .15s .3s,margin .15s .3s;height:4px;top:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0} +.flowplayer.is-mouseout .fp-fullscreen,.flowplayer.is-mouseout .fp-unload,.flowplayer.is-mouseout .fp-elapsed,.flowplayer.is-mouseout .fp-remaining,.flowplayer.is-mouseout .fp-duration,.flowplayer.is-mouseout .fp-embed,.flowplayer.is-mouseout .fp-volume,.flowplayer.is-mouseout .fp-play{opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);-webkit-transition:opacity .15s .3s;-moz-transition:opacity .15s .3s;transition:opacity .15s .3s} +.flowplayer.is-mouseover .fp-controls,.flowplayer.fixed-controls .fp-controls{height:30px} +.flowplayer.is-mouseover .fp-fullscreen,.flowplayer.fixed-controls .fp-fullscreen,.flowplayer.is-mouseover .fp-unload,.flowplayer.fixed-controls .fp-unload,.flowplayer.is-mouseover .fp-elapsed,.flowplayer.fixed-controls .fp-elapsed,.flowplayer.is-mouseover .fp-remaining,.flowplayer.fixed-controls .fp-remaining,.flowplayer.is-mouseover .fp-duration,.flowplayer.fixed-controls .fp-duration,.flowplayer.is-mouseover .fp-embed,.flowplayer.fixed-controls .fp-embed,.flowplayer.is-mouseover .fp-logo,.flowplayer.fixed-controls .fp-logo,.flowplayer.is-mouseover .fp-volume,.flowplayer.fixed-controls .fp-volume,.flowplayer.is-mouseover .fp-play,.flowplayer.fixed-controls .fp-play{opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} +.flowplayer.fixed-controls .fp-volume{display:block} +.flowplayer.fixed-controls .fp-controls{bottom:-30px;} +.is-fullscreen.flowplayer.fixed-controls .fp-controls{bottom:0} +.flowplayer.fixed-controls .fp-time em{bottom:-20px;opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);} +.is-fullscreen.flowplayer.fixed-controls .fp-time em{bottom:10px} +.flowplayer.is-disabled .fp-progress{background-color:#999} +.flowplayer .fp-embed{position:absolute;top:10px;left:10px;display:block;width:25px;height:20px;background-position:3px -237px} +.flowplayer .fp-embed-code{position:absolute;display:none;top:10px;left:40px;background-color:#333;padding:3px 5px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 0 3px #ccc;-moz-box-shadow:0 0 3px #ccc;box-shadow:0 0 3px #ccc;font-size:12px;} +.flowplayer .fp-embed-code:before{content:'';width:0;height:0;position:absolute;top:2px;left:-10px;border:5px solid transparent;border-right-color:#333} +.flowplayer .fp-embed-code textarea{width:400px;height:16px;font-family:monaco,"courier new",verdana;color:#777;white-space:nowrap;resize:none;overflow:hidden;border:0;outline:0;background-color:transparent;color:#ccc} +.flowplayer .fp-embed-code label{display:block;color:#999} +.flowplayer.is-embedding .fp-embed,.flowplayer.is-embedding .fp-embed-code{display:block;opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} +.flowplayer.aside-time .fp-embed{left:100px} +.flowplayer.aside-time .fp-embed-code{left:130px} +.flowplayer.aside-time.is-embedding .fp-time{opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} +.flowplayer.is-long.aside-time .fp-embed{left:130px} +.flowplayer.no-time .fp-embed{left:10px !important} +@-moz-keyframes pulse{0%{opacity:0} +100%{opacity:1} +}@-webkit-keyframes pulse{0%{opacity:0} +100%{opacity:1} +}@-o-keyframes pulse{0%{opacity:0} +100%{opacity:1} +}@-ms-keyframes pulse{0%{opacity:0} +100%{opacity:1} +}@keyframes pulse{0%{opacity:0} +100%{opacity:1} +}.flowplayer .fp-controls{background-color:#111} +.flowplayer .fp-timeline{background-color:#555} +.flowplayer .fp-buffer{background-color:#eee} +.flowplayer .fp-progress{background-color:#4da5d8} +.flowplayer .fp-volumelevel{background-color:#fff} +.flowplayer .fp-volumeslider{background-color:#555} +.flowplayer .fp-timeline,.flowplayer .fp-volumeslider{border:1px inset;border-color:rgba(0,0,0,0.2) rgba(17,17,17,0.05)} +.flowplayer .fp-controls,.flowplayer .fp-progress{background-image:-moz-linear-gradient(rgba(255,255,255,0.4),rgba(255,255,255,0.01));background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(255,255,255,0.4)),to(rgba(255,255,255,0.01)))} +.flowplayer .fp-timeline,.flowplayer .fp-buffer,.flowplayer .fp-progress,.flowplayer .fp-volumeslider,.flowplayer .fp-volumelevel{-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px} +.flowplayer.color-light .fp-controls{background-color:#eee;background-image:-moz-linear-gradient(rgba(0,0,0,0.01),rgba(0,0,0,0.3));background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(0,0,0,0.01)),to(rgba(0,0,0,0.3)))} +.flowplayer.color-light .fp-timeline,.flowplayer.color-light .fp-volumeslider{border-color:#eee #ccc} +.flowplayer.color-light .fp-timeline,.flowplayer.color-light .fp-volumeslider{background-color:#ccc;font-size:10px} +.flowplayer.color-alt .fp-progress{background-image:-moz-linear-gradient(#999,#111);background-image:-webkit-gradient(linear,0 0,0 100%,from(#999),to(#111))} +.flowplayer.color-alt .fp-timeline,.flowplayer.color-alt .fp-volumeslider{background-color:#111} +.flowplayer.color-alt2 .fp-progress{background-color:#900} diff --git a/wp-content/plugins/ai-embed/flowplayer/skin/img/black.png b/wp-content/plugins/ai-embed/flowplayer/skin/img/black.png new file mode 100644 index 0000000000000000000000000000000000000000..d37fd70b5e0314a755ef340941cdd50799b8688b Binary files /dev/null and b/wp-content/plugins/ai-embed/flowplayer/skin/img/black.png differ diff --git a/wp-content/plugins/ai-embed/flowplayer/skin/img/black@x2.png b/wp-content/plugins/ai-embed/flowplayer/skin/img/black@x2.png new file mode 100644 index 0000000000000000000000000000000000000000..13eaa220f4754742a94a9aa4bbe1ff1e6f4f8533 Binary files /dev/null and b/wp-content/plugins/ai-embed/flowplayer/skin/img/black@x2.png differ diff --git a/wp-content/plugins/ai-embed/flowplayer/skin/img/play_black.png b/wp-content/plugins/ai-embed/flowplayer/skin/img/play_black.png new file mode 100644 index 0000000000000000000000000000000000000000..c3c69085a1e3c0c92ee68d5b60b07dffdc18272e Binary files /dev/null and b/wp-content/plugins/ai-embed/flowplayer/skin/img/play_black.png differ diff --git a/wp-content/plugins/ai-embed/flowplayer/skin/img/play_black@x2.png b/wp-content/plugins/ai-embed/flowplayer/skin/img/play_black@x2.png new file mode 100644 index 0000000000000000000000000000000000000000..82f9e66a23ab000ae4cefd2169a5ff58862f193c Binary files /dev/null and b/wp-content/plugins/ai-embed/flowplayer/skin/img/play_black@x2.png differ diff --git a/wp-content/plugins/ai-embed/flowplayer/skin/img/play_white.png b/wp-content/plugins/ai-embed/flowplayer/skin/img/play_white.png new file mode 100644 index 0000000000000000000000000000000000000000..251aa00cf0f72bc55b29954fb1f4eaa6afee0193 Binary files /dev/null and b/wp-content/plugins/ai-embed/flowplayer/skin/img/play_white.png differ diff --git a/wp-content/plugins/ai-embed/flowplayer/skin/img/play_white@x2.png b/wp-content/plugins/ai-embed/flowplayer/skin/img/play_white@x2.png new file mode 100644 index 0000000000000000000000000000000000000000..1cf2369b6e8774381afa89543a909487917e93fa Binary files /dev/null and b/wp-content/plugins/ai-embed/flowplayer/skin/img/play_white@x2.png differ diff --git a/wp-content/plugins/ai-embed/flowplayer/skin/img/playful_black.png b/wp-content/plugins/ai-embed/flowplayer/skin/img/playful_black.png new file mode 100644 index 0000000000000000000000000000000000000000..ca7825b8a2b5ed99abc3c16d3106fa9cdee0e670 Binary files /dev/null and b/wp-content/plugins/ai-embed/flowplayer/skin/img/playful_black.png differ diff --git a/wp-content/plugins/ai-embed/flowplayer/skin/img/playful_black@x2.png b/wp-content/plugins/ai-embed/flowplayer/skin/img/playful_black@x2.png new file mode 100644 index 0000000000000000000000000000000000000000..9a13b6d10bcc9b2877a8bf4d61fbe45075b5caf8 Binary files /dev/null and b/wp-content/plugins/ai-embed/flowplayer/skin/img/playful_black@x2.png differ diff --git a/wp-content/plugins/ai-embed/flowplayer/skin/img/playful_white.png b/wp-content/plugins/ai-embed/flowplayer/skin/img/playful_white.png new file mode 100644 index 0000000000000000000000000000000000000000..c028155ee34f1b4942673d8deee75f0a97ebd5d4 Binary files /dev/null and b/wp-content/plugins/ai-embed/flowplayer/skin/img/playful_white.png differ diff --git a/wp-content/plugins/ai-embed/flowplayer/skin/img/playful_white@x2.png b/wp-content/plugins/ai-embed/flowplayer/skin/img/playful_white@x2.png new file mode 100644 index 0000000000000000000000000000000000000000..1bade5e65f5716be1a3ac4090d9d6e0b31c946f4 Binary files /dev/null and b/wp-content/plugins/ai-embed/flowplayer/skin/img/playful_white@x2.png differ diff --git a/wp-content/plugins/ai-embed/flowplayer/skin/img/white.png b/wp-content/plugins/ai-embed/flowplayer/skin/img/white.png new file mode 100644 index 0000000000000000000000000000000000000000..9722281b2e8f0c8e7b3043faff34857e8f034834 Binary files /dev/null and b/wp-content/plugins/ai-embed/flowplayer/skin/img/white.png differ diff --git a/wp-content/plugins/ai-embed/flowplayer/skin/img/white@x2.png b/wp-content/plugins/ai-embed/flowplayer/skin/img/white@x2.png new file mode 100644 index 0000000000000000000000000000000000000000..a937c94cea5372f4abb80328d3543cfd048b6b5a Binary files /dev/null and b/wp-content/plugins/ai-embed/flowplayer/skin/img/white@x2.png differ diff --git a/wp-content/plugins/ai-embed/flowplayer/skin/minimalist.css b/wp-content/plugins/ai-embed/flowplayer/skin/minimalist.css new file mode 100644 index 0000000000000000000000000000000000000000..cdec9f4b262e72620441af2a71cefba6bc651d04 --- /dev/null +++ b/wp-content/plugins/ai-embed/flowplayer/skin/minimalist.css @@ -0,0 +1,158 @@ +.flowplayer{position:relative;width:100%;text-align:left;background-size:contain;background-repeat:no-repeat;background-position:center center;display:inline-block;} +.flowplayer *{font-weight:inherit;font-family:inherit;font-style:inherit;text-decoration:inherit;font-size:100%;padding:0;border:0;margin:0;list-style-type:none} +.flowplayer a:focus{outline:0} +.flowplayer video{width:100%} +.flowplayer.is-ipad video{-webkit-transform:translateX(-2048px);} +.is-ready.flowplayer.is-ipad video{-webkit-transform:translateX(0)} +.flowplayer .fp-engine,.flowplayer .fp-ui,.flowplayer .fp-message{position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer;z-index:1} +.flowplayer .fp-message{display:none;text-align:center;padding-top:5%;cursor:default;} +.flowplayer .fp-message h2{font-size:120%;margin-bottom:1em} +.flowplayer .fp-message p{color:#666;font-size:95%} +.flowplayer .fp-controls{position:absolute;bottom:0;width:100%;} +.no-background.flowplayer .fp-controls{background-color:transparent !important;background-image:-moz-linear-gradient(transparent,transparent) !important;background-image:-webkit-gradient(linear,0 0,0 100%,from(transparent),to(transparent)) !important} +.is-fullscreen.flowplayer .fp-controls{bottom:3px} +.is-mouseover.flowplayer .fp-controls{bottom:0} +.flowplayer .fp-waiting{display:none;margin:19% auto;text-align:center;} +.flowplayer .fp-waiting *{-webkit-box-shadow:0 0 5px #333;-moz-box-shadow:0 0 5px #333;box-shadow:0 0 5px #333} +.flowplayer .fp-waiting em{width:1em;height:1em;-webkit-border-radius:1em;-moz-border-radius:1em;border-radius:1em;background-color:rgba(255,255,255,0.8);display:inline-block;-webkit-animation:pulse .6s infinite;-moz-animation:pulse .6s infinite;animation:pulse .6s infinite;margin:.3em;opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);} +.flowplayer .fp-waiting em:nth-child(1){-webkit-animation-delay:.3s;-moz-animation-delay:.3s;animation-delay:.3s} +.flowplayer .fp-waiting em:nth-child(2){-webkit-animation-delay:.45s;-moz-animation-delay:.45s;animation-delay:.45s} +.flowplayer .fp-waiting em:nth-child(3){-webkit-animation-delay:.6s;-moz-animation-delay:.6s;animation-delay:.6s} +.flowplayer .fp-waiting p{color:#ccc;font-weight:bold} +.flowplayer .fp-speed{font-size:30px;background-color:#333;background-color:rgba(51,51,51,0.8);color:#eee;margin:0 auto;text-align:center;width:120px;padding:.1em 0 0;opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);-webkit-transition:opacity .5s;-moz-transition:opacity .5s;transition:opacity .5s;} +.flowplayer .fp-speed.fp-hilite{opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} +.flowplayer .fp-help{position:absolute;top:0;left:-9999em;z-index:100;background-color:#333;background-color:rgba(51,51,51,0.9);width:100%;height:100%;opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);-webkit-transition:opacity .2s;-moz-transition:opacity .2s;transition:opacity .2s;text-align:center;} +.is-help.flowplayer .fp-help{left:0;opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} +.flowplayer .fp-help .fp-help-section{margin:3%} +.flowplayer .fp-help .fp-help-basics{margin-top:6%} +.flowplayer .fp-help p{color:#eee;margin:.5em 0;font-size:14px;line-height:1.5;display:inline-block;margin:1% 2%} +.flowplayer .fp-help em{background:#eee;-webkit-border-radius:.3em;-moz-border-radius:.3em;border-radius:.3em;margin-right:.4em;padding:.3em .6em;color:#333} +.flowplayer .fp-help small{font-size:90%;color:#aaa} +.flowplayer .fp-help .fp-close{display:block} +@media (max-width: 600px){.flowplayer .fp-help p{font-size:9px} +}.flowplayer .fp-subtitle{position:absolute;bottom:40px;left:-99999em;z-index:10;text-align:center;width:100%;opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);-webkit-transition:opacity .3s;-moz-transition:opacity .3s;transition:opacity .3s;} +.flowplayer .fp-subtitle p{display:inline;background-color:#333;background-color:rgba(51,51,51,0.9);color:#eee;padding:.1em .4em;font-size:16px;line-height:1.6;} +.flowplayer .fp-subtitle p:after{content:'';clear:both} +.flowplayer .fp-subtitle.fp-active{left:0;opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} +.flowplayer .fp-fullscreen,.flowplayer .fp-unload,.flowplayer .fp-mute,.flowplayer .fp-embed,.flowplayer .fp-close,.flowplayer .fp-play{background-image:url(img/white.png);background-size:37px 300px;} +.color-light.flowplayer .fp-fullscreen,.color-light.flowplayer .fp-unload,.color-light.flowplayer .fp-mute,.color-light.flowplayer .fp-embed,.color-light.flowplayer .fp-close,.color-light.flowplayer .fp-play{background-image:url(img/black.png);} +@media (-webkit-min-device-pixel-ratio: 2){.color-light.flowplayer .fp-fullscreen,.color-light.flowplayer .fp-unload,.color-light.flowplayer .fp-mute,.color-light.flowplayer .fp-embed,.color-light.flowplayer .fp-close,.color-light.flowplayer .fp-play{background-image:url(img/black@x2.png)} +}@media (-webkit-min-device-pixel-ratio: 2){.flowplayer .fp-fullscreen,.flowplayer .fp-unload,.flowplayer .fp-mute,.flowplayer .fp-embed,.flowplayer .fp-close,.flowplayer .fp-play{background-image:url(img/white@x2.png)} +}.is-splash.flowplayer .fp-ui,.is-paused.flowplayer .fp-ui{background:url(img/play_white.png) center no-repeat;background-size:12%;} +@media (-webkit-min-device-pixel-ratio: 2){.is-splash.flowplayer .fp-ui,.is-paused.flowplayer .fp-ui{background:url(img/play_white@x2.png) center no-repeat;background-size:12%} +}.color-light.is-splash.flowplayer .fp-ui,.color-light.is-paused.flowplayer .fp-ui{background-image:url(img/play_black.png)} +@media (-webkit-min-device-pixel-ratio: 2){.color-light.is-splash.flowplayer .fp-ui,.color-light.is-paused.flowplayer .fp-ui{background-image:url(img/play_black@x2.png)} +}.is-fullscreen.flowplayer .fp-ui{background-size:auto} +.is-seeking.flowplayer .fp-ui,.is-loading.flowplayer .fp-ui{background-image:none} +.flowplayer .fp-logo{position:absolute;top:auto;left:15px;bottom:30px;cursor:pointer;display:none;z-index:100;} +.flowplayer .fp-logo img{width:100%} +.is-embedded.flowplayer .fp-logo{display:block} +.fixed-controls.flowplayer .fp-logo{bottom:15px} +.flowplayer .fp-fullscreen,.flowplayer .fp-unload,.flowplayer .fp-close{position:absolute;top:5px;left:auto;right:5px;display:block;width:30px;height:23px;background-position:12px -197px;cursor:pointer} +.flowplayer .fp-unload,.flowplayer .fp-close{background-position:14px -175px;display:none} +.flowplayer .fp-play{display:none;width:27px;height:20px;background-position:9px -24px;position:absolute;bottom:0;left:0;} +.play-button.flowplayer .fp-play{display:block} +.is-paused.flowplayer .fp-play{background-position:9px 7px} +.flowplayer.is-ready.is-closeable .fp-unload{display:block} +.flowplayer.is-ready.is-closeable .fp-fullscreen{display:none} +.flowplayer.is-fullscreen .fp-fullscreen{background-position:10px -217px;display:block !important} +.flowplayer.is-fullscreen .fp-unload,.flowplayer.is-fullscreen .fp-close{display:none !important} +.flowplayer .fp-timeline{height:3px;position:relative;overflow:hidden;top:5px;height:10px;margin:0 150px 0 45px;} +.no-volume.flowplayer .fp-timeline{margin-right:60px} +.no-mute.flowplayer .fp-timeline{margin-right:45px} +.play-button.flowplayer .fp-timeline{margin-left:67px} +.is-long.flowplayer .fp-timeline{margin:0 180px 0 75px;} +.no-volume.is-long.flowplayer .fp-timeline{margin-right:90px} +.no-mute.is-long.flowplayer .fp-timeline{margin-right:75px} +.play-button.is-long.flowplayer .fp-timeline{margin-left:97px} +.aside-time.flowplayer .fp-timeline,.no-time.flowplayer .fp-timeline{margin:0 110px 0 5px} +.aside-time.no-volume.flowplayer .fp-timeline,.no-time.no-volume.flowplayer .fp-timeline{margin-right:20px} +.aside-time.no-mute.flowplayer .fp-timeline,.no-time.no-mute.flowplayer .fp-timeline{margin-right:5px} +.play-button.no-time.flowplayer .fp-timeline,.play-button.aside-time.flowplayer .fp-timeline{margin-left:27px} +.flowplayer .fp-buffer,.flowplayer .fp-progress{position:absolute;top:0;left:auto;height:100%;cursor:col-resize} +.flowplayer .fp-buffer{-webkit-transition:width .25s linear;-moz-transition:width .25s linear;transition:width .25s linear} +.flowplayer .fp-volume{position:absolute;top:7.5px;right:5px} +.flowplayer .fp-mute{width:10px;height:15px;float:left;position:relative;top:-5px;left:;cursor:pointer;background-position:-2px -99px;} +.no-mute.flowplayer .fp-mute{display:none} +.flowplayer .fp-volumeslider{width:90px;height:5px;cursor:col-resize;float:left;} +.no-volume.flowplayer .fp-volumeslider{display:none} +.flowplayer .fp-volumelevel{height:100%} +.flowplayer .fp-time{text-shadow:0 0 1px #000;font-size:12px;font-weight:bold;color:#fff;width:100%;} +.flowplayer .fp-time.is-inverted .fp-duration{display:none} +.flowplayer .fp-time.is-inverted .fp-remaining{display:inline} +.flowplayer .fp-time em{width:35px;height:10px;line-height:10px;text-align:center;position:absolute;bottom:5px} +.no-time.flowplayer .fp-time{display:none} +.is-long.flowplayer .fp-time em{width:65px} +.flowplayer .fp-elapsed{left:5px;} +.play-button.flowplayer .fp-elapsed{left:27px} +.flowplayer .fp-remaining,.flowplayer .fp-duration{right:110px;color:#eee;} +.no-volume.flowplayer .fp-remaining,.no-volume.flowplayer .fp-duration{right:20px} +.no-mute.flowplayer .fp-remaining,.no-mute.flowplayer .fp-duration{right:5px} +.flowplayer .fp-remaining{display:none} +.flowplayer.color-light .fp-time{color:#222;text-shadow:0 0 1px #fff} +.flowplayer.color-light .fp-remaining,.flowplayer.color-light .fp-duration{color:#666} +.flowplayer.aside-time .fp-time{position:absolute;top:5px;left:5px;bottom:auto !important;width:85px;} +.flowplayer.aside-time .fp-time strong,.flowplayer.aside-time .fp-time em{position:static} +.flowplayer.aside-time .fp-time .fp-elapsed{margin-right:5px} +.flowplayer.is-long.aside-time .fp-time{width:130px} +.flowplayer.is-splash,.flowplayer.is-poster{cursor:pointer;} +.flowplayer.is-splash .fp-controls,.flowplayer.is-poster .fp-controls,.flowplayer.is-splash .fp-fullscreen,.flowplayer.is-poster .fp-fullscreen,.flowplayer.is-splash .fp-unload,.flowplayer.is-poster .fp-unload,.flowplayer.is-splash .fp-time,.flowplayer.is-poster .fp-time,.flowplayer.is-splash .fp-embed,.flowplayer.is-poster .fp-embed{display:none !important} +.flowplayer.is-poster .fp-engine{top:-9999em} +.flowplayer.is-loading .fp-waiting{display:block} +.flowplayer.is-loading .fp-controls,.flowplayer.is-loading .fp-time{display:none} +.flowplayer.is-loading .fp-ui{background-position:-9999em} +.flowplayer.is-seeking .fp-waiting{display:block} +.flowplayer.is-fullscreen{position:fixed !important;top:0 !important;left:0 !important;border:0 !important;margin:0 !important;width:100% !important;height:100% !important;max-width:100% !important;z-index:99999 !important;-webkit-box-shadow:0 !important;-moz-box-shadow:0 !important;box-shadow:0 !important;background-image:none !important;background-color:#333} +.flowplayer.is-error{border:1px solid #909090;background:#fdfdfd !important;} +.flowplayer.is-error h2{font-weight:bold;font-size:large;margin-top:10%} +.flowplayer.is-error .fp-message{display:block} +.flowplayer.is-error object,.flowplayer.is-error video,.flowplayer.is-error .fp-controls,.flowplayer.is-error .fp-time,.flowplayer.is-error .fp-subtitle{display:none} +.flowplayer.is-ready.is-muted .fp-mute{opacity:.5;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50)} +.flowplayer.is-mouseout .fp-controls{height:0;-webkit-transition:height .15s .3s;-moz-transition:height .15s .3s;transition:height .15s .3s} +.flowplayer.is-mouseout .fp-timeline{margin:0 !important} +.flowplayer.is-mouseout .fp-timeline{-webkit-transition:height .15s .3s,top .15s .3s,margin .15s .3s;-moz-transition:height .15s .3s,top .15s .3s,margin .15s .3s;transition:height .15s .3s,top .15s .3s,margin .15s .3s;height:4px;top:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0} +.flowplayer.is-mouseout .fp-fullscreen,.flowplayer.is-mouseout .fp-unload,.flowplayer.is-mouseout .fp-elapsed,.flowplayer.is-mouseout .fp-remaining,.flowplayer.is-mouseout .fp-duration,.flowplayer.is-mouseout .fp-embed,.flowplayer.is-mouseout .fp-volume,.flowplayer.is-mouseout .fp-play{opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);-webkit-transition:opacity .15s .3s;-moz-transition:opacity .15s .3s;transition:opacity .15s .3s} +.flowplayer.is-mouseover .fp-controls,.flowplayer.fixed-controls .fp-controls{height:20px} +.flowplayer.is-mouseover .fp-fullscreen,.flowplayer.fixed-controls .fp-fullscreen,.flowplayer.is-mouseover .fp-unload,.flowplayer.fixed-controls .fp-unload,.flowplayer.is-mouseover .fp-elapsed,.flowplayer.fixed-controls .fp-elapsed,.flowplayer.is-mouseover .fp-remaining,.flowplayer.fixed-controls .fp-remaining,.flowplayer.is-mouseover .fp-duration,.flowplayer.fixed-controls .fp-duration,.flowplayer.is-mouseover .fp-embed,.flowplayer.fixed-controls .fp-embed,.flowplayer.is-mouseover .fp-logo,.flowplayer.fixed-controls .fp-logo,.flowplayer.is-mouseover .fp-volume,.flowplayer.fixed-controls .fp-volume,.flowplayer.is-mouseover .fp-play,.flowplayer.fixed-controls .fp-play{opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} +.flowplayer.fixed-controls .fp-volume{display:block} +.flowplayer.fixed-controls .fp-controls{bottom:-20px;} +.is-fullscreen.flowplayer.fixed-controls .fp-controls{bottom:0} +.flowplayer.fixed-controls .fp-time em{bottom:-15px;opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);} +.is-fullscreen.flowplayer.fixed-controls .fp-time em{bottom:5px} +.flowplayer.is-disabled .fp-progress{background-color:#999} +.flowplayer .fp-embed{position:absolute;top:5px;left:5px;display:block;width:25px;height:20px;background-position:3px -237px} +.flowplayer .fp-embed-code{position:absolute;display:none;top:10px;left:40px;background-color:#333;padding:3px 5px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 0 3px #ccc;-moz-box-shadow:0 0 3px #ccc;box-shadow:0 0 3px #ccc;font-size:12px;} +.flowplayer .fp-embed-code:before{content:'';width:0;height:0;position:absolute;top:2px;left:-10px;border:5px solid transparent;border-right-color:#333} +.flowplayer .fp-embed-code textarea{width:400px;height:16px;font-family:monaco,"courier new",verdana;color:#777;white-space:nowrap;resize:none;overflow:hidden;border:0;outline:0;background-color:transparent;color:#ccc} +.flowplayer .fp-embed-code label{display:block;color:#999} +.flowplayer.is-embedding .fp-embed,.flowplayer.is-embedding .fp-embed-code{display:block;opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} +.flowplayer.aside-time .fp-embed{left:85px} +.flowplayer.aside-time .fp-embed-code{left:115px} +.flowplayer.aside-time.is-embedding .fp-time{opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} +.flowplayer.is-long.aside-time .fp-embed{left:130px} +.flowplayer.no-time .fp-embed{left:5px !important} +@-moz-keyframes pulse{0%{opacity:0} +100%{opacity:1} +}@-webkit-keyframes pulse{0%{opacity:0} +100%{opacity:1} +}@-o-keyframes pulse{0%{opacity:0} +100%{opacity:1} +}@-ms-keyframes pulse{0%{opacity:0} +100%{opacity:1} +}@keyframes pulse{0%{opacity:0} +100%{opacity:1} +}.flowplayer .fp-controls{background-color:#333;background-color:rgba(51,51,51,0.6)} +.flowplayer.fixed-controls .fp-controls{background-color:#333} +.flowplayer .fp-timeline{background-color:#666} +.flowplayer .fp-buffer{background-color:#eee} +.flowplayer .fp-progress{background-color:#00a7c8} +.flowplayer .fp-volumeslider{background-color:#000} +.flowplayer .fp-volumelevel{background-color:#fff} +.flowplayer .fp-play{height:24px} +.flowplayer.color-light .fp-controls{background-color:rgba(255,255,255,0.6)} +.flowplayer.color-light.fixed-controls .fp-controls{background-color:#fff} +.flowplayer.color-light .fp-volumeslider{background-color:#ddd} +.flowplayer.color-light .fp-volumelevel{background-color:#222} +.flowplayer.color-alt .fp-progress{background-color:#fff} +.flowplayer.color-alt .fp-buffer{background-color:#999} +.flowplayer.color-alt2 .fp-progress{background-color:#900} diff --git a/wp-content/plugins/ai-embed/flowplayer/skin/playful.css b/wp-content/plugins/ai-embed/flowplayer/skin/playful.css new file mode 100644 index 0000000000000000000000000000000000000000..871187a8b332dfefb157bde1cb22efbfd1dd132d --- /dev/null +++ b/wp-content/plugins/ai-embed/flowplayer/skin/playful.css @@ -0,0 +1,159 @@ +.flowplayer{position:relative;width:100%;text-align:left;background-size:contain;background-repeat:no-repeat;background-position:center center;display:inline-block;} +.flowplayer *{font-weight:inherit;font-family:inherit;font-style:inherit;text-decoration:inherit;font-size:100%;padding:0;border:0;margin:0;list-style-type:none} +.flowplayer a:focus{outline:0} +.flowplayer video{width:100%} +.flowplayer.is-ipad video{-webkit-transform:translateX(-2048px);} +.is-ready.flowplayer.is-ipad video{-webkit-transform:translateX(0)} +.flowplayer .fp-engine,.flowplayer .fp-ui,.flowplayer .fp-message{position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer;z-index:1} +.flowplayer .fp-message{display:none;text-align:center;padding-top:5%;cursor:default;} +.flowplayer .fp-message h2{font-size:120%;margin-bottom:1em} +.flowplayer .fp-message p{color:#666;font-size:95%} +.flowplayer .fp-controls{position:absolute;bottom:0;width:100%;} +.no-background.flowplayer .fp-controls{background-color:transparent !important;background-image:-moz-linear-gradient(transparent,transparent) !important;background-image:-webkit-gradient(linear,0 0,0 100%,from(transparent),to(transparent)) !important} +.is-fullscreen.flowplayer .fp-controls{bottom:3px} +.is-mouseover.flowplayer .fp-controls{bottom:0} +.flowplayer .fp-waiting{display:none;margin:19% auto;text-align:center;} +.flowplayer .fp-waiting *{-webkit-box-shadow:0 0 5px #333;-moz-box-shadow:0 0 5px #333;box-shadow:0 0 5px #333} +.flowplayer .fp-waiting em{width:1em;height:1em;-webkit-border-radius:1em;-moz-border-radius:1em;border-radius:1em;background-color:rgba(255,255,255,0.8);display:inline-block;-webkit-animation:pulse .6s infinite;-moz-animation:pulse .6s infinite;animation:pulse .6s infinite;margin:.3em;opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);} +.flowplayer .fp-waiting em:nth-child(1){-webkit-animation-delay:.3s;-moz-animation-delay:.3s;animation-delay:.3s} +.flowplayer .fp-waiting em:nth-child(2){-webkit-animation-delay:.45s;-moz-animation-delay:.45s;animation-delay:.45s} +.flowplayer .fp-waiting em:nth-child(3){-webkit-animation-delay:.6s;-moz-animation-delay:.6s;animation-delay:.6s} +.flowplayer .fp-waiting p{color:#ccc;font-weight:bold} +.flowplayer .fp-speed{font-size:30px;background-color:#333;background-color:rgba(51,51,51,0.8);color:#eee;margin:0 auto;text-align:center;width:120px;padding:.1em 0 0;opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);-webkit-transition:opacity .5s;-moz-transition:opacity .5s;transition:opacity .5s;} +.flowplayer .fp-speed.fp-hilite{opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} +.flowplayer .fp-help{position:absolute;top:0;left:-9999em;z-index:100;background-color:#333;background-color:rgba(51,51,51,0.9);width:100%;height:100%;opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);-webkit-transition:opacity .2s;-moz-transition:opacity .2s;transition:opacity .2s;text-align:center;} +.is-help.flowplayer .fp-help{left:0;opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} +.flowplayer .fp-help .fp-help-section{margin:3%} +.flowplayer .fp-help .fp-help-basics{margin-top:6%} +.flowplayer .fp-help p{color:#eee;margin:.5em 0;font-size:14px;line-height:1.5;display:inline-block;margin:1% 2%} +.flowplayer .fp-help em{background:#eee;-webkit-border-radius:.3em;-moz-border-radius:.3em;border-radius:.3em;margin-right:.4em;padding:.3em .6em;color:#333} +.flowplayer .fp-help small{font-size:90%;color:#aaa} +.flowplayer .fp-help .fp-close{display:block} +@media (max-width: 600px){.flowplayer .fp-help p{font-size:9px} +}.flowplayer .fp-subtitle{position:absolute;bottom:40px;left:-99999em;z-index:10;text-align:center;width:100%;opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);-webkit-transition:opacity .3s;-moz-transition:opacity .3s;transition:opacity .3s;} +.flowplayer .fp-subtitle p{display:inline;background-color:#333;background-color:rgba(51,51,51,0.9);color:#eee;padding:.1em .4em;font-size:16px;line-height:1.6;} +.flowplayer .fp-subtitle p:after{content:'';clear:both} +.flowplayer .fp-subtitle.fp-active{left:0;opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} +.flowplayer .fp-fullscreen,.flowplayer .fp-unload,.flowplayer .fp-mute,.flowplayer .fp-embed,.flowplayer .fp-close,.flowplayer .fp-play{background-image:url(img/playful_white.png);background-size:37px 300px;} +.color-light.flowplayer .fp-fullscreen,.color-light.flowplayer .fp-unload,.color-light.flowplayer .fp-mute,.color-light.flowplayer .fp-embed,.color-light.flowplayer .fp-close,.color-light.flowplayer .fp-play{background-image:url(img/playful_black.png);} +@media (-webkit-min-device-pixel-ratio: 2){.color-light.flowplayer .fp-fullscreen,.color-light.flowplayer .fp-unload,.color-light.flowplayer .fp-mute,.color-light.flowplayer .fp-embed,.color-light.flowplayer .fp-close,.color-light.flowplayer .fp-play{background-image:url(img/playful_black@x2.png)} +}@media (-webkit-min-device-pixel-ratio: 2){.flowplayer .fp-fullscreen,.flowplayer .fp-unload,.flowplayer .fp-mute,.flowplayer .fp-embed,.flowplayer .fp-close,.flowplayer .fp-play{background-image:url(img/playful_white@x2.png)} +}.is-splash.flowplayer .fp-ui,.is-paused.flowplayer .fp-ui{background:url(img/play_white.png) center no-repeat;background-size:12%;} +@media (-webkit-min-device-pixel-ratio: 2){.is-splash.flowplayer .fp-ui,.is-paused.flowplayer .fp-ui{background:url(img/play_white@x2.png) center no-repeat;background-size:12%} +}.color-light.is-splash.flowplayer .fp-ui,.color-light.is-paused.flowplayer .fp-ui{background-image:url(img/play_black.png)} +@media (-webkit-min-device-pixel-ratio: 2){.color-light.is-splash.flowplayer .fp-ui,.color-light.is-paused.flowplayer .fp-ui{background-image:url(img/play_black@x2.png)} +}.is-fullscreen.flowplayer .fp-ui{background-size:auto} +.is-seeking.flowplayer .fp-ui,.is-loading.flowplayer .fp-ui{background-image:none} +.flowplayer .fp-logo{position:absolute;top:auto;left:15px;bottom:45px;cursor:pointer;display:none;z-index:100;} +.flowplayer .fp-logo img{width:100%} +.is-embedded.flowplayer .fp-logo{display:block} +.fixed-controls.flowplayer .fp-logo{bottom:15px} +.flowplayer .fp-fullscreen,.flowplayer .fp-unload,.flowplayer .fp-close{position:absolute;top:12px;left:auto;right:12px;display:block;width:30px;height:23px;background-position:12px -197px;cursor:pointer} +.flowplayer .fp-unload,.flowplayer .fp-close{background-position:14px -175px;display:none} +.flowplayer .fp-play{display:none;width:27px;height:35px;background-position:9px -24px;position:absolute;bottom:0;left:0;} +.play-button.flowplayer .fp-play{display:block} +.is-paused.flowplayer .fp-play{background-position:9px 7px} +.flowplayer.is-ready.is-closeable .fp-unload{display:block} +.flowplayer.is-ready.is-closeable .fp-fullscreen{display:none} +.flowplayer.is-fullscreen .fp-fullscreen{background-position:10px -217px;display:block !important} +.flowplayer.is-fullscreen .fp-unload,.flowplayer.is-fullscreen .fp-close{display:none !important} +.flowplayer .fp-timeline{height:3px;position:relative;overflow:hidden;top:12px;height:11px;margin:0 199px 0 59px;} +.no-volume.flowplayer .fp-timeline{margin-right:109px} +.no-mute.flowplayer .fp-timeline{margin-right:59px} +.play-button.flowplayer .fp-timeline{margin-left:74px} +.is-long.flowplayer .fp-timeline{margin:0 229px 0 89px;} +.no-volume.is-long.flowplayer .fp-timeline{margin-right:139px} +.no-mute.is-long.flowplayer .fp-timeline{margin-right:89px} +.play-button.is-long.flowplayer .fp-timeline{margin-left:104px} +.aside-time.flowplayer .fp-timeline,.no-time.flowplayer .fp-timeline{margin:0 152px 0 12px} +.aside-time.no-volume.flowplayer .fp-timeline,.no-time.no-volume.flowplayer .fp-timeline{margin-right:62px} +.aside-time.no-mute.flowplayer .fp-timeline,.no-time.no-mute.flowplayer .fp-timeline{margin-right:12px} +.play-button.no-time.flowplayer .fp-timeline,.play-button.aside-time.flowplayer .fp-timeline{margin-left:27px} +.flowplayer .fp-buffer,.flowplayer .fp-progress{position:absolute;top:0;left:auto;height:100%;cursor:col-resize} +.flowplayer .fp-buffer{-webkit-transition:width .25s linear;-moz-transition:width .25s linear;transition:width .25s linear} +.flowplayer .fp-volume{position:absolute;top:12px;right:12px} +.flowplayer .fp-mute{width:38px;height:20px;float:left;position:relative;top:-4.5px;left:;cursor:pointer;background-position:-2px -99px;} +.no-mute.flowplayer .fp-mute{display:none} +.flowplayer .fp-volumeslider{width:90px;height:11px;cursor:col-resize;float:left;} +.no-volume.flowplayer .fp-volumeslider{display:none} +.flowplayer .fp-volumelevel{height:100%} +.flowplayer .fp-time{text-shadow:0 0 1px #000;font-size:12px;font-weight:bold;color:#fff;width:100%;} +.flowplayer .fp-time.is-inverted .fp-duration{display:none} +.flowplayer .fp-time.is-inverted .fp-remaining{display:inline} +.flowplayer .fp-time em{width:35px;height:11px;line-height:11px;text-align:center;position:absolute;bottom:12px} +.no-time.flowplayer .fp-time{display:none} +.is-long.flowplayer .fp-time em{width:65px} +.flowplayer .fp-elapsed{left:12px;} +.play-button.flowplayer .fp-elapsed{left:27px} +.flowplayer .fp-remaining,.flowplayer .fp-duration{right:152px;color:#eee;} +.no-volume.flowplayer .fp-remaining,.no-volume.flowplayer .fp-duration{right:62px} +.no-mute.flowplayer .fp-remaining,.no-mute.flowplayer .fp-duration{right:12px} +.flowplayer .fp-remaining{display:none} +.flowplayer.color-light .fp-time{color:#222;text-shadow:0 0 1px #fff} +.flowplayer.color-light .fp-remaining,.flowplayer.color-light .fp-duration{color:#666} +.flowplayer.aside-time .fp-time{position:absolute;top:12px;left:12px;bottom:auto !important;width:110px;} +.flowplayer.aside-time .fp-time strong,.flowplayer.aside-time .fp-time em{position:static} +.flowplayer.aside-time .fp-time .fp-elapsed{margin-right:12px} +.flowplayer.is-long.aside-time .fp-time{width:130px} +.flowplayer.is-splash,.flowplayer.is-poster{cursor:pointer;} +.flowplayer.is-splash .fp-controls,.flowplayer.is-poster .fp-controls,.flowplayer.is-splash .fp-fullscreen,.flowplayer.is-poster .fp-fullscreen,.flowplayer.is-splash .fp-unload,.flowplayer.is-poster .fp-unload,.flowplayer.is-splash .fp-time,.flowplayer.is-poster .fp-time,.flowplayer.is-splash .fp-embed,.flowplayer.is-poster .fp-embed{display:none !important} +.flowplayer.is-poster .fp-engine{top:-9999em} +.flowplayer.is-loading .fp-waiting{display:block} +.flowplayer.is-loading .fp-controls,.flowplayer.is-loading .fp-time{display:none} +.flowplayer.is-loading .fp-ui{background-position:-9999em} +.flowplayer.is-seeking .fp-waiting{display:block} +.flowplayer.is-fullscreen{position:fixed !important;top:0 !important;left:0 !important;border:0 !important;margin:0 !important;width:100% !important;height:100% !important;max-width:100% !important;z-index:99999 !important;-webkit-box-shadow:0 !important;-moz-box-shadow:0 !important;box-shadow:0 !important;background-image:none !important;background-color:#333} +.flowplayer.is-error{border:1px solid #909090;background:#fdfdfd !important;} +.flowplayer.is-error h2{font-weight:bold;font-size:large;margin-top:10%} +.flowplayer.is-error .fp-message{display:block} +.flowplayer.is-error object,.flowplayer.is-error video,.flowplayer.is-error .fp-controls,.flowplayer.is-error .fp-time,.flowplayer.is-error .fp-subtitle{display:none} +.flowplayer.is-ready.is-muted .fp-mute{opacity:.5;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50)} +.flowplayer.is-mouseout .fp-controls{height:0;-webkit-transition:height .15s .3s;-moz-transition:height .15s .3s;transition:height .15s .3s} +.flowplayer.is-mouseout .fp-timeline{margin:0 !important} +.flowplayer.is-mouseout .fp-timeline{-webkit-transition:height .15s .3s,top .15s .3s,margin .15s .3s;-moz-transition:height .15s .3s,top .15s .3s,margin .15s .3s;transition:height .15s .3s,top .15s .3s,margin .15s .3s;height:4px;top:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0} +.flowplayer.is-mouseout .fp-fullscreen,.flowplayer.is-mouseout .fp-unload,.flowplayer.is-mouseout .fp-elapsed,.flowplayer.is-mouseout .fp-remaining,.flowplayer.is-mouseout .fp-duration,.flowplayer.is-mouseout .fp-embed,.flowplayer.is-mouseout .fp-volume,.flowplayer.is-mouseout .fp-play{opacity:0;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);-webkit-transition:opacity .15s .3s;-moz-transition:opacity .15s .3s;transition:opacity .15s .3s} +.flowplayer.is-mouseover .fp-controls,.flowplayer.fixed-controls .fp-controls{height:35px} +.flowplayer.is-mouseover .fp-fullscreen,.flowplayer.fixed-controls .fp-fullscreen,.flowplayer.is-mouseover .fp-unload,.flowplayer.fixed-controls .fp-unload,.flowplayer.is-mouseover .fp-elapsed,.flowplayer.fixed-controls .fp-elapsed,.flowplayer.is-mouseover .fp-remaining,.flowplayer.fixed-controls .fp-remaining,.flowplayer.is-mouseover .fp-duration,.flowplayer.fixed-controls .fp-duration,.flowplayer.is-mouseover .fp-embed,.flowplayer.fixed-controls .fp-embed,.flowplayer.is-mouseover .fp-logo,.flowplayer.fixed-controls .fp-logo,.flowplayer.is-mouseover .fp-volume,.flowplayer.fixed-controls .fp-volume,.flowplayer.is-mouseover .fp-play,.flowplayer.fixed-controls .fp-play{opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} +.flowplayer.fixed-controls .fp-volume{display:block} +.flowplayer.fixed-controls .fp-controls{bottom:-35px;} +.is-fullscreen.flowplayer.fixed-controls .fp-controls{bottom:0} +.flowplayer.fixed-controls .fp-time em{bottom:-23px;opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);} +.is-fullscreen.flowplayer.fixed-controls .fp-time em{bottom:12px} +.flowplayer.is-disabled .fp-progress{background-color:#999} +.flowplayer .fp-embed{position:absolute;top:12px;left:12px;display:block;width:25px;height:20px;background-position:3px -237px} +.flowplayer .fp-embed-code{position:absolute;display:none;top:10px;left:40px;background-color:#333;padding:3px 5px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 0 3px #ccc;-moz-box-shadow:0 0 3px #ccc;box-shadow:0 0 3px #ccc;font-size:12px;} +.flowplayer .fp-embed-code:before{content:'';width:0;height:0;position:absolute;top:2px;left:-10px;border:5px solid transparent;border-right-color:#333} +.flowplayer .fp-embed-code textarea{width:400px;height:16px;font-family:monaco,"courier new",verdana;color:#777;white-space:nowrap;resize:none;overflow:hidden;border:0;outline:0;background-color:transparent;color:#ccc} +.flowplayer .fp-embed-code label{display:block;color:#999} +.flowplayer.is-embedding .fp-embed,.flowplayer.is-embedding .fp-embed-code{display:block;opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} +.flowplayer.aside-time .fp-embed{left:110px} +.flowplayer.aside-time .fp-embed-code{left:140px} +.flowplayer.aside-time.is-embedding .fp-time{opacity:1;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100)} +.flowplayer.is-long.aside-time .fp-embed{left:130px} +.flowplayer.no-time .fp-embed{left:12px !important} +@-moz-keyframes pulse{0%{opacity:0} +100%{opacity:1} +}@-webkit-keyframes pulse{0%{opacity:0} +100%{opacity:1} +}@-o-keyframes pulse{0%{opacity:0} +100%{opacity:1} +}@-ms-keyframes pulse{0%{opacity:0} +100%{opacity:1} +}@keyframes pulse{0%{opacity:0} +100%{opacity:1} +}.flowplayer .fp-controls{background-color:#111} +.flowplayer .fp-timeline,.flowplayer .fp-volumeslider{background-color:#555;background-image:-moz-linear-gradient(rgba(255,255,255,0.01),rgba(255,255,255,0.3));background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(255,255,255,0.01)),to(rgba(255,255,255,0.3)))} +.flowplayer .fp-buffer{background-color:#eee} +.flowplayer .fp-progress{background-color:#008000} +.flowplayer .fp-volumelevel{background-color:#fff} +.flowplayer .fp-mute{display:block;width:38px;height:20px;background-position:0 -79px;} +.is-muted.flowplayer .fp-mute{background-position:0 -109px;opacity:.85;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=85)} +.flowplayer .fp-play{background-position:9px -20px;} +.is-paused.flowplayer .fp-play{background-position:9px 11px} +.flowplayer .fp-timeline,.flowplayer .fp-volumeslider{border:1px inset;border-color:rgba(0,0,0,0.3) rgba(17,17,17,0.05)} +.flowplayer .fp-controls,.flowplayer .fp-progress{background-image:-moz-linear-gradient(rgba(255,255,255,0.3),rgba(255,255,255,0.01));background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(255,255,255,0.3)),to(rgba(255,255,255,0.01)))} +.flowplayer .fp-timeline,.flowplayer .fp-progress,.flowplayer .fp-buffer,.flowplayer .fp-volumeslider,.flowplayer .fp-volumelevel{-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px} +.flowplayer.color-light .fp-controls{background-color:#eee;background-image:-moz-linear-gradient(rgba(0,0,0,0.01),rgba(0,0,0,0.3));background-image:-webkit-gradient(linear,0 0,0 100%,from(rgba(0,0,0,0.01)),to(rgba(0,0,0,0.3)))} +.flowplayer.color-light .fp-timeline,.flowplayer.color-light .fp-volumeslider{border-color:#eee #ccc} +.flowplayer.color-alt .fp-progress,.flowplayer.color-alt .fp-volumelevel{background-color:#111} +.flowplayer.color-alt2 .fp-progress,.flowplayer.color-alt2 .fp-volumelevel{background-color:#900} diff --git a/wp-content/plugins/ai-embed/header.php b/wp-content/plugins/ai-embed/header.php new file mode 100644 index 0000000000000000000000000000000000000000..c6f4b3c670bbdb4582e5cc4dbe832fcdbd5f3085 --- /dev/null +++ b/wp-content/plugins/ai-embed/header.php @@ -0,0 +1,10 @@ +<?php +//Definisce l'header +function flowload() { + if (!defined('FLOWPLAYER')) { + wp_enqueue_script("flowplayer", WP_PLUGIN_URL."/ai-embed/flowplayer/js/flowplayer-3.2.4.min.js", false, false ); + define('FLOWPLAYER', true); + return; + } +} +?>