summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'SemanticResultFormats/formats/media/resources')
-rw-r--r--SemanticResultFormats/formats/media/resources/ext.srf.formats.media.css39
-rw-r--r--SemanticResultFormats/formats/media/resources/ext.srf.formats.media.js249
-rw-r--r--SemanticResultFormats/formats/media/resources/ext.srf.template.jplayer.js242
-rw-r--r--SemanticResultFormats/formats/media/resources/images/audio.auto.cover.pngbin7686 -> 0 bytes
4 files changed, 0 insertions, 530 deletions
diff --git a/SemanticResultFormats/formats/media/resources/ext.srf.formats.media.css b/SemanticResultFormats/formats/media/resources/ext.srf.formats.media.css
deleted file mode 100644
index 0fdbba4a..00000000
--- a/SemanticResultFormats/formats/media/resources/ext.srf.formats.media.css
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * This file is part of the Semantic Result Formats Media module
- * @see https://www.semantic-mediawiki.org/wiki/Help:Media_formats
- *
- * @section LICENSE
- * 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 2 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, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
- *
- * @file
- * @ignore
- *
- * @since 1.9
- * @ingroup SRF
- *
- * @licence GNU GPL v2+
- * @author mwjames
- */
-div.jp-jplayer {
- background-color: white;
-}
-
-div.jp-playlist ul {
- list-style-image: none;
-}
-
-div.jp-type-single div.jp-playlist li {
- border-bottom: 0px solid #EEE;
-} \ No newline at end of file
diff --git a/SemanticResultFormats/formats/media/resources/ext.srf.formats.media.js b/SemanticResultFormats/formats/media/resources/ext.srf.formats.media.js
deleted file mode 100644
index d61fff86..00000000
--- a/SemanticResultFormats/formats/media/resources/ext.srf.formats.media.js
+++ /dev/null
@@ -1,249 +0,0 @@
-/**
- * This file is part of the Semantic Result Formats Media module
- * @see https://www.semantic-mediawiki.org/wiki/Help:Media_formats
- *
- * @section LICENSE
- * 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 2 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, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
- *
- * @file
- * @ignore
- *
- * @since 1.9
- * @ingroup SRF
- *
- * @licence GNU GPL v2+
- * @author mwjames
- */
-( function( $, mw, srf ) {
- 'use strict';
-
- /*global jPlayerPlaylist:true*/
-
- /**
- * Inheritance class for the srf.formats constructor
- *
- * @since 1.9
- *
- * @class
- * @abstract
- */
- srf.formats = srf.formats || {};
-
- /**
- * Base constructor for objects representing a media instance
- *
- * @since 1.9
- *
- * @class
- * @constructor
- * @extends srf.formats
- */
- srf.formats.media = function() {};
-
- /**
- * Public interface
- * @ignore
- */
- srf.formats.media.prototype = {
-
- /**
- * Default values
- *
- * Size: The minimum size of jPlayer with the skin is
- * 480x270px (270p)otherwise the controls do not have enough space
- *
- * @since 1.9
- *
- * @property
- * @type Object
- */
- defaults: {
- posterImage: srf.settings.get( 'srfgScriptPath' ) + '/formats/media/resources/images/audio.auto.cover.png',
- size:{
- '270p' : { width: '480', height: '270', cssClass: 'jp-video-270p' },
- '360p' : { width: '640', height: '360', cssClass: 'jp-video-360p' }
- },
- jplayer : {
- swfPath: srf.settings.get( 'srfgScriptPath' ) + '/resources/jquery/jplayer/Jplayer.swf',
- backgroundColor: '#FFFFFF',
- wmode: 'window',
- errorAlerts: smw.debug()
- }
- },
-
- /**
- * Returns an object from a parsed JSON string
- *
- * @since 1.9
- *
- * @param {string} context
- *
- * @return {Object}
- */
- parse: function( data ){
- return typeof data === 'string' ? jQuery.parseJSON( data ) : data;
- },
-
- /**
- * Return id's
- *
- * @since 1.9
- *
- * @param {string} ID
- *
- * @return Object
- */
- getId: function( ID ){
- return {
- 'playerId' : ID + '-player',
- 'containerId' : ID + '-container',
- 'inspectorId' : ID + '-inspector'
- };
- },
-
- /**
- * Returns player size
- *
- * @since 1.9
- *
- * @param {string} type
- *
- * @return {string}
- */
- getPlayerSize: function( type ){
- return type === 'video' ? this.defaults.size['270p'] : '';
- },
-
- /**
- * Returns adopted data array
- *
- * @since 1.9
- *
- * @param {string} source
- * @param {string} mediaType
- *
- * @return Object
- */
- getData: function( source, mediaType ){
- var data = [];
- $.each( source, function( index, value ) {
-
- // Make sure we display a title
- if ( value.title === undefined ) {
- value.title = value.subject;
- }
-
- // Use a pseudo cover art in case audio and video display is mixed to avoid
- // a black video screen for audio files with no cover art
- if ( mediaType === 'video' && ( value.poster === undefined || value.poster.length === 0 ) ) {
- value.poster = this.defaults.posterImage;
- }
- data.push ( value );
- } );
- return data;
- },
-
- /**
- * Returns player template
- *
- * @since 1.9
- *
- * @param {string} ID
- * @param {string} mediaType
- * @param {string} mode
- *
- * @return Object
- */
- getPlayerTemplate: function( ID, mediaType, mode ){
- var template = srf.template.jplayer[mediaType][mode];
- return template( {
- 'playerId': this.getId( ID ).playerId,
- 'containerId': this.getId( ID ).containerId
- } );
- },
-
- /**
- * Media event inspector plugin displays information
- * about the specified media element
- *
- * @since 1.9
- *
- * @param {string} ID
- *
- * @return Object
- */
- getInspector: function( ID ){
- var self = this;
- mw.loader.using( 'ext.jquery.jplayer.inspector', function () {
- $( '#' + self.getId( ID ).inspectorId ).jPlayerInspector( {
- jPlayer : $( '#' + self.getId( ID ).playerId )
- } );
- } );
- return srf.template.jplayer.inspector( self.getId( ID ).inspectorId );
- }
- };
-
- /**
- * Implementation of a media instance
- * @since 1.9
- * @ignore
- */
- $( document ).ready( function() {
-
- $( '.srf-media' ).each( function() {
- var media = new srf.formats.media();
-
- var $this = $( this ),
- container = $this.find( '.container' ),
- ID = container.attr( 'id' ),
- json = media.parse( mw.config.get( ID ) ),
- mode = json.count === 1 ? 'single' : 'multi';
-
- // Specify jPlayer options
- var jPlayerSelector = {
- jPlayer: '#' + media.getId( ID ).playerId,
- cssSelectorAncestor: '#' + media.getId( ID ).containerId
- },
- jPlayerOptions = {
- size: media.getPlayerSize( json.mediaType ),
- supplied: json.mimeTypes
- };
-
- // Init player template
- if ( json.mediaType ){
- container.prepend( media.getPlayerTemplate( ID, json.mediaType, mode ) );
- }
-
- // Init media event inspector
- if ( json.inspector ){
- container.append( media.getInspector( ID ) );
- }
-
- // Create jPlayer instance
- var jPlayerInstance = new jPlayerPlaylist(
- jPlayerSelector,
- media.getData( json.data, json.mediaType ),
- // Merge defaults and options, without modifying the defaults
- $.extend( {}, media.defaults.jplayer, jPlayerOptions )
- );
-
- // Release container and hide the spinner
- $this.find( '.srf-spinner' ).hide();
- container.show();
-
- } );
- } );
-
-} )( jQuery, mediaWiki, semanticFormats ); \ No newline at end of file
diff --git a/SemanticResultFormats/formats/media/resources/ext.srf.template.jplayer.js b/SemanticResultFormats/formats/media/resources/ext.srf.template.jplayer.js
deleted file mode 100644
index deda9971..00000000
--- a/SemanticResultFormats/formats/media/resources/ext.srf.template.jplayer.js
+++ /dev/null
@@ -1,242 +0,0 @@
-/**
- * This file is part of the Semantic Result Formats Media module
- * @see https://www.semantic-mediawiki.org/wiki/Help:Media_formats
- *
- * @section LICENSE
- * 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 2 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, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
- *
- * @file
- * @ignore
- *
- * @since 1.9
- * @ingroup SRF
- *
- * @licence GNU GPL v2+
- * @author mwjames
- */
-( function( $, mw, srf ) {
- 'use strict';
-
- /*jshint scripturl:true*/
-
- /**
- * Helper method
- * @ignore
- */
- var h = mw.html;
-
- /**
- * Internationalization (i18n) support
- *
- * @since 1.9
- * @ignore
- */
- var _i18n = {
- 'previous' : mw.msg( 'srf-ui-mediaplayer-label-previous' ),
- 'pause' : mw.msg( 'srf-ui-mediaplayer-label-pause' ),
- 'play' : mw.msg( 'srf-ui-mediaplayer-label-play' ),
- 'next' : mw.msg( 'srf-ui-mediaplayer-label-next' ),
- 'stop' : mw.msg( 'srf-ui-mediaplayer-label-stop' ),
- 'mute' : mw.msg( 'srf-ui-mediaplayer-label-mute' ),
- 'unmute' : mw.msg( 'srf-ui-mediaplayer-label-unmute' ),
- 'volumeMax' : mw.msg( 'srf-ui-mediaplayer-label-volume-max' ),
- 'shuffle' : mw.msg( 'srf-ui-mediaplayer-label-shuffle' ),
- 'shuffleOff' : mw.msg( 'srf-ui-mediaplayer-label-shuffle-off' ),
- 'repeat' : mw.msg( 'srf-ui-mediaplayer-label-repeat' ),
- 'repeatOff' : mw.msg( 'srf-ui-mediaplayer-label-repeat-off' ),
- 'fullScreen' : mw.msg( 'srf-ui-mediaplayer-label-full-screen' ),
- 'restoreScreen' : mw.msg( 'srf-ui-mediaplayer-label-restore-screen' )
- };
-
- /**
- * Inheritance class for the srf.template constructor
- *
- * @since 1.9
- *
- * @class
- * @abstract
- */
- srf.template = srf.template || {};
-
- /**
- * Base constructor for objects representing a template instance
- *
- * @since 1.9
- *
- * @class
- * @constructor
- * @extends srf.template
- */
- srf.template.jplayer = {
-
- /**
- * Placeholder for the media inspector
- *
- * @return object
- */
- inspector : function( ID ) { return h.element( 'div', { 'id' : ID }, '' );
- },
-
- /**
- * Audio player template
- *
- * @return object
- */
- audio: {
- single : function( options ) { return h.element( 'div', { 'id' : options.playerId, 'class': 'jp-jplayer' } ) +
- h.element( 'div', { 'id' : options.containerId , 'class': 'jp-audio' },
- new h.Raw( h.element( 'div', { 'class': 'jp-type-single' },
- new h.Raw( h.element( 'div', { 'class': 'jp-gui jp-interface' },
- new h.Raw( h.element( 'ul', { 'class': 'jp-controls' },
- new h.Raw (
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-play' , 'tabindex' : 1, 'title': _i18n.play }, _i18n.play ) ) ) +
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-pause' , 'tabindex' : 1, 'title': _i18n.pause }, _i18n.pause ) ) ) +
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-stop' , 'tabindex' : 1, 'title': _i18n.stop }, _i18n.stop ) ) ) +
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-mute' , 'tabindex' : 1, 'title' : _i18n.mute }, _i18n.mute ) ) ) +
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-unmute' , 'tabindex' : 1, 'title': _i18n.unmute }, _i18n.unmute ) ) ) +
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-volume-max' , 'tabindex' : 1, 'title': _i18n.volumeMax }, _i18n.volumeMax ) ) )
- ) ) +
- // progress
- h.element( 'div', { 'class': 'jp-progress' }, new h.Raw ( h.element( 'div', { 'class': 'jp-seek-bar' }, new h.Raw ( h.element( 'div', { 'class': 'jp-play-bar' }, '' ) ) ) ) ) +
- // Volumn
- h.element( 'div', { 'class': 'jp-volume-bar' }, new h.Raw ( h.element( 'div', { 'class': 'jp-volume-bar-value' }, '' ) ) ) +
- // Time
- h.element( 'div', { 'class': 'jp-time-holder' }, new h.Raw ( h.element( 'div', { 'class': 'jp-current-time' }, '' ) + h.element( 'div', { 'class': 'jp-duration' }, '' ) ) ) +
- //
- h.element( 'ul', { 'class': 'jp-toggles' },
- new h.Raw (
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-repeat' , 'tabindex' : 1, 'title' : _i18n.repeat }, _i18n.repeat ) ) ) +
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-repeat-off' , 'tabindex' : 1, 'title' : _i18n.repeatOff }, _i18n.repeatOff ) ) )
- ) )
- ) ) + h.element( 'div', { 'class': 'jp-playlist' }, new h.Raw( h.element( 'ul', {}, new h.Raw( h.element( 'li', {}, '' ) ) ) ) ) )
- ) ) );
- },
- multi : function( options ) { return h.element( 'div', { 'id' : options.playerId, 'class': 'jp-jplayer' } ) +
- h.element( 'div', { 'id' : options.containerId , 'class': 'jp-audio' },
- new h.Raw( h.element( 'div', { 'class': 'jp-type-playlist' },
- new h.Raw( h.element( 'div', { 'class': 'jp-gui jp-interface' },
- new h.Raw( h.element( 'ul', { 'class': 'jp-controls' },
- new h.Raw (
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-previous' , 'tabindex' : 1, 'title': _i18n.previous }, _i18n.previous ) ) ) +
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-play' , 'tabindex' : 1, 'title': _i18n.play }, _i18n.play ) ) ) +
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-pause' , 'tabindex' : 1, 'title': _i18n.pause }, _i18n.pause ) ) ) +
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-next' , 'tabindex' : 1, 'title': _i18n.next }, _i18n.next ) ) ) +
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-stop' , 'tabindex' : 1, 'title': _i18n.stop }, _i18n.stop ) ) ) +
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-mute' , 'tabindex' : 1, 'title' : _i18n.mute }, _i18n.mute ) ) ) +
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-unmute' , 'tabindex' : 1, 'title': _i18n.unmute }, _i18n.unmute ) ) ) +
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-volume-max' , 'tabindex' : 1, 'title': _i18n.volumeMax }, _i18n.volumeMax ) ) )
- ) ) +
- // progress
- h.element( 'div', { 'class': 'jp-progress' }, new h.Raw ( h.element( 'div', { 'class': 'jp-seek-bar' }, new h.Raw ( h.element( 'div', { 'class': 'jp-play-bar' }, '' ) ) ) ) ) +
- // Volumn
- h.element( 'div', { 'class': 'jp-volume-bar' }, new h.Raw ( h.element( 'div', { 'class': 'jp-volume-bar-value' }, '' ) ) ) +
- // Time
- h.element( 'div', { 'class': 'jp-time-holder' }, new h.Raw ( h.element( 'div', { 'class': 'jp-current-time' }, '' ) + h.element( 'div', { 'class': 'jp-duration' }, '' ) ) ) +
- //
- h.element( 'ul', { 'class': 'jp-toggles' },
- new h.Raw (
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-shuffle' , 'tabindex' : 1, 'title' : _i18n.shuffle }, _i18n.shuffle ) ) ) +
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-shuffle-off' , 'tabindex' : 1, 'title' : _i18n.shuffleOff }, _i18n.shuffleOff ) ) ) +
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-repeat' , 'tabindex' : 1, 'title' : _i18n.repeat }, _i18n.repeat ) ) ) +
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-repeat-off' , 'tabindex' : 1, 'title' : _i18n.repeatOff }, _i18n.repeatOff ) ) )
- ) )
- ) ) + h.element( 'div', { 'class': 'jp-playlist' }, new h.Raw( h.element( 'ul', {}, new h.Raw( h.element( 'li', {}, '' ) ) ) ) ) )
- ) ) );
- }
- },
-
- /**
- * Video player template
- *
- * @return object
- */
- video: {
- single : function( options ) { return h.element( 'div', { 'id' : options.containerId , 'class': 'jp-video' },
- new h.Raw( h.element( 'div', { 'class': 'jp-type-single' },
- new h.Raw(
- h.element( 'div', { 'id': options.playerId, 'class': 'jp-jplayer' } ) +
- h.element( 'div', { 'class': 'jp-gui' },
- new h.Raw(
- h.element( 'div', { 'class': 'jp-video-play' }, new h.Raw( h.element( 'a', { 'href' : 'javascript:;', 'class' : 'jp-video-play-icon', 'tabindex' : 1 }, 'play' ) ) )+
- h.element( 'div', { 'class': 'jp-interface' },
- new h.Raw (
- // progress
- h.element( 'div', { 'class': 'jp-progress' }, new h.Raw ( h.element( 'div', { 'class': 'jp-seek-bar' }, new h.Raw ( h.element( 'div', { 'class': 'jp-play-bar' }, '' ) ) ) ) ) +
- h.element( 'div', { 'class': 'jp-current-time' }, '' ) +
- h.element( 'div', { 'class': 'jp-duration' }, '' ) +
- h.element( 'div', { 'class': 'jp-controls-holder' },
- new h.Raw( h.element( 'ul', { 'class': 'jp-controls' },
- new h.Raw (
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-play' , 'tabindex' : 1, 'title': _i18n.play }, _i18n.play ) ) ) +
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-pause' , 'tabindex' : 1, 'title': _i18n.pause }, _i18n.pause ) ) ) +
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-stop' , 'tabindex' : 1, 'title' : _i18n.stop }, _i18n.stop ) ) ) +
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-mute' , 'tabindex' : 1, 'title' : _i18n.mute }, _i18n.mute ) ) ) +
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-unmute' , 'tabindex' : 1, 'title' : _i18n.unmute }, _i18n.unmute ) ) ) +
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-volume-max' , 'tabindex' : 1, 'title': _i18n.volumeMax }, _i18n.volumeMax ) ) )
- ) ) + h.element( 'div', { 'class': 'jp-volume-bar' }, new h.Raw ( h.element( 'div', { 'class': 'jp-volume-bar-value' }, '' ) ) ) +
- h.element( 'ul', { 'class': 'jp-toggles' },
- new h.Raw (
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-full-screen' , 'tabindex' : 1, 'title' : _i18n.fullScreen }, _i18n.fullScreen ) ) ) +
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-restore-screen' , 'tabindex' : 1, 'title': _i18n.restoreScreen }, _i18n.restoreScreen ) ) ) +
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-repeat' , 'tabindex' : 1, 'title' : _i18n.repeat }, _i18n.repeat ) ) ) +
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-repeat-off' , 'tabindex' : 1, 'title': _i18n.repeatOff }, _i18n.repeatOff ) ) )
- ) ) ) ) + h.element( 'div', { 'class': 'jp-title' }, new h.Raw( h.element( 'ul', {}, new h.Raw( h.element( 'li', {}, '' ) ) ) ) ) )
- ) ) ) +
- h.element( 'div', { 'class': 'jp-playlist' }, new h.Raw( h.element( 'ul', {}, new h.Raw( h.element( 'li', {}, '' ) ) ) ) ) )
- ) ) );
- },
- multi : function( options ) { return h.element( 'div', { 'id' : options.containerId , 'class': 'jp-video' },
- new h.Raw( h.element( 'div', { 'class': 'jp-type-playlist' },
- new h.Raw(
- h.element( 'div', { 'id': options.playerId, 'class': 'jp-jplayer' } ) +
- h.element( 'div', { 'class': 'jp-gui' },
- new h.Raw(
- h.element( 'div', { 'class': 'jp-video-play' }, new h.Raw( h.element( 'a', { 'href' : 'javascript:;', 'class' : 'jp-video-play-icon', 'tabindex' : 1 }, 'play' ) ) )+
- h.element( 'div', { 'class': 'jp-interface' },
- new h.Raw (
- // progress
- h.element( 'div', { 'class': 'jp-progress' }, new h.Raw ( h.element( 'div', { 'class': 'jp-seek-bar' }, new h.Raw ( h.element( 'div', { 'class': 'jp-play-bar' }, '' ) ) ) ) ) +
- h.element( 'div', { 'class': 'jp-current-time' }, '' ) +
- h.element( 'div', { 'class': 'jp-duration' }, '' ) +
- h.element( 'div', { 'class': 'jp-controls-holder' },
- new h.Raw( h.element( 'ul', { 'class': 'jp-controls' },
- new h.Raw (
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-previous' , 'tabindex' : 1, 'title': _i18n.previous }, _i18n.previous ) ) ) +
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-play' , 'tabindex' : 1, 'title': _i18n.play }, _i18n.play ) ) ) +
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-pause' , 'tabindex' : 1, 'title': _i18n.pause }, _i18n.pause ) ) ) +
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-next' , 'tabindex' : 1, 'title': _i18n.next }, _i18n.next ) ) ) +
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-stop' , 'tabindex' : 1, 'title' : _i18n.stop }, _i18n.stop ) ) ) +
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-mute' , 'tabindex' : 1, 'title' : _i18n.mute }, _i18n.mute ) ) ) +
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-unmute' , 'tabindex' : 1, 'title' : _i18n.unmute }, _i18n.unmute ) ) ) +
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-volume-max' , 'tabindex' : 1, 'title': _i18n.volumeMax }, _i18n.volumeMax ) ) )
- )
- ) + h.element( 'div', { 'class': 'jp-volume-bar' }, new h.Raw ( h.element( 'div', { 'class': 'jp-volume-bar-value' }, '' ) ) ) +
- h.element( 'ul', { 'class': 'jp-toggles' },
- new h.Raw (
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-full-screen' , 'tabindex' : 1, 'title' : _i18n.fullScreen }, _i18n.fullScreen ) ) ) +
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-restore-screen' , 'tabindex' : 1, 'title': _i18n.restoreScreen }, _i18n.restoreScreen ) ) ) +
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-shuffle' , 'tabindex' : 1, 'title' : _i18n.shuffle }, _i18n.shuffle ) ) ) +
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-shuffle-off' , 'tabindex' : 1, 'title': _i18n.shuffleOff }, _i18n.shuffleOff ) ) ) +
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-repeat' , 'tabindex' : 1, 'title' : _i18n.repeat }, _i18n.repeat ) ) ) +
- h.element( 'li', {}, new h.Raw( h.element( 'a', { 'href' : 'javascript:', 'class' : 'jp-repeat-off' , 'tabindex' : 1, 'title': _i18n.repeatOff }, _i18n.repeatOff ) ) )
- ) ) ) ) + h.element( 'div', { 'class': 'jp-title' }, new h.Raw( h.element( 'ul', {}, new h.Raw( h.element( 'li', {}, '' ) ) ) ) ) )
- ) )
- ) + h.element( 'div', { 'class': 'jp-playlist' }, new h.Raw( h.element( 'ul', {}, new h.Raw( h.element( 'li', {}, '' ) ) ) ) ) )
- ) ) );
- }
- }
- };
-
-} )( jQuery, mediaWiki, semanticFormats ); \ No newline at end of file
diff --git a/SemanticResultFormats/formats/media/resources/images/audio.auto.cover.png b/SemanticResultFormats/formats/media/resources/images/audio.auto.cover.png
deleted file mode 100644
index 55b81776..00000000
--- a/SemanticResultFormats/formats/media/resources/images/audio.auto.cover.png
+++ /dev/null
Binary files differ