Difference between revisions of "AutoDoc:BlueSpicePlayer"

m (1 revision imported)
m (1 revision imported)
 

DescriptionMsg[edit source]

Embed a media player on a page.

License[edit source]

GPL-3.0-only

Requirements[edit source]

  • MediaWiki: >= 1.31.0

IntegratesInto[edit source]

  • BlueSpiceFoundation

DefaultUserOptions[edit source]

User options[edit source]

Name Value
bs-showtime-pref-autostart false

Config[edit source]

Configuration[edit source]

Name Value
ShowtimePrefHeight 240
ShowtimePrefWidth 320
ShowtimePrefHeight 240

Hooks[edit source]

Hooks[edit source]

==DescriptionMsg==
        
        {{AutoDocDescriptionMsg
        
        |name = BlueSpicePlayer
        
        |desc = {{int:bs-player-extension-description
        
        }}
        
        }}
        
        ==Requirements==
            
            {{AutoDocRequirements
            
            |mediawiki = {{AutoDocVersion
            
            |name = MediaWiki
            
            |version = >= 1.31.0
            
            }}
            
            }}
            
            ==IntegratesInto==
            
            {{AutoDocIntegratesInto
            
            |into = {{AutoDocListItem
            
            |item = BlueSpiceFoundation
            
            
        License==
            
            {{AutoDocLicense
            
            |name = GPL-3.0-only
            
            }}
            
            ==Requirements==
            
            {{AutoDocRequirements
            
            |mediawiki = {{AutoDocVersion
            
            |name = MediaWiki
            
            |version = 1.31.0
            
            
        }}
        
        }}
        
        ==DefaultUserOptions==
        
        {{AutoDocDefaultUserOptions
        
        |options = {{AutoDocOption
        
        |name = bs-showtime-pref-autostart
        
        |value = <nowiki>false</nowiki>
        
        }}
        
        }}
        
        ==Config==
        
        {{AutoDocConfig
        
        |config = {{AutoDocOption
        
        |name = ShowtimePrefWidthShowtimePrefHeight
        
        |value = <nowiki>320240</nowiki>
        
        }}
        
        {{AutoDocOption
        
        |name = ShowtimePrefHeightShowtimePrefWidth
        
        |value = <nowiki>240320</nowiki>
        
        }}
        
        }}
        
        ==Hooks==
        
        {{AutoDocHooks
        
        |Hooks = {{AutoDocCallback
        
        |name = BSInsertMagicAjaxGetData
            
            
        [https://www.mediawiki.org/wiki/Manual:Hooks/BSInsertMagicAjaxGetData BSInsertMagicAjaxGetData]
            
            
        |callback = \BlueSpice\Player\Hook\BSInsertMagicAjaxGetData\AddDescription::callback
        
        }}
        
        {{AutoDocCallback
        
        |name = GetPreferences
            
            
        [https://www.mediawiki.org/wiki/Manual:Hooks/GetPreferences GetPreferences]
            
            
        |callback = \BlueSpice\Player\Hook\GetPreferences\Autostart::callback
        
        }}
        
        }}
Line 4: Line 4:
 
|desc = {{int:bs-player-extension-description
 
|desc = {{int:bs-player-extension-description
 
}}
 
}}
 +
}}
 +
==License==
 +
{{AutoDocLicense
 +
|name = GPL-3.0-only
 
}}
 
}}
 
==Requirements==
 
==Requirements==
Line 9: Line 13:
 
|mediawiki = {{AutoDocVersion
 
|mediawiki = {{AutoDocVersion
 
|name = MediaWiki
 
|name = MediaWiki
|version = >= 1.31.0
+
|version = 1.31.0
}}
 
}}
 
==IntegratesInto==
 
{{AutoDocIntegratesInto
 
|into = {{AutoDocListItem
 
|item = BlueSpiceFoundation
 
 
}}
 
}}
 
}}
 
}}
Line 28: Line 26:
 
{{AutoDocConfig
 
{{AutoDocConfig
 
|config = {{AutoDocOption
 
|config = {{AutoDocOption
 +
|name = ShowtimePrefHeight
 +
|value = <nowiki>240</nowiki>
 +
}}
 +
{{AutoDocOption
 
|name = ShowtimePrefWidth
 
|name = ShowtimePrefWidth
 
|value = <nowiki>320</nowiki>
 
|value = <nowiki>320</nowiki>
}}
 
{{AutoDocOption
 
|name = ShowtimePrefHeight
 
|value = <nowiki>240</nowiki>
 
 
}}
 
}}
 
}}
 
}}
Line 39: Line 37:
 
{{AutoDocHooks
 
{{AutoDocHooks
 
|Hooks = {{AutoDocCallback
 
|Hooks = {{AutoDocCallback
|name = BSInsertMagicAjaxGetData
+
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/BSInsertMagicAjaxGetData BSInsertMagicAjaxGetData]
 
|callback = \BlueSpice\Player\Hook\BSInsertMagicAjaxGetData\AddDescription::callback
 
|callback = \BlueSpice\Player\Hook\BSInsertMagicAjaxGetData\AddDescription::callback
 
}}
 
}}
 
{{AutoDocCallback
 
{{AutoDocCallback
|name = GetPreferences
+
|name = [https://www.mediawiki.org/wiki/Manual:Hooks/GetPreferences GetPreferences]
 
|callback = \BlueSpice\Player\Hook\GetPreferences\Autostart::callback
 
|callback = \BlueSpice\Player\Hook\GetPreferences\Autostart::callback
 
}}
 
}}
 
}}
 
}}

Attachments

Discussions