Last edited 2 years ago
by Redaktion

Manual:Extension/BlueSpicePlayer and Reference:BlueSpicePageAccess: Difference between pages

(Difference between pages)
(Created page with "{{DISPLAYTITLE:Video Player}} The extension BlueSpice '''Player''' allows you to embed local video files in a page. These files have to be uploaded to your wiki first. If yo...")
Tag: 2017 source edit
 
No edit summary
Tag: 2017 source edit
 
Line 1: Line 1:
{{DISPLAYTITLE:Video Player}}
{{BSExtensionInfo
|desc=Allows group-based access on page level.
|status=stable
|developer=HalloWelt
|type=BlueSpice
|edition=BlueSpice free, BlueSpice pro, BlueSpice Farm, BlueSpice Cloud
|compatible=BlueSpice
|category=Security
|license=GPL v3 only
|features='''BlueSpicePageAccess''' allows only a certain user group access to the page.


The extension BlueSpice '''Player''' allows you to embed local video files in a page. These files have to be uploaded to your wiki first.
The restriction is achieved by inserting the tag ''pageaccess'' on a page. Access restriction per page is done on a group basis. "Access" here means all actions, including read and edit. To avoid that this mechanism accidentally blocks access for all users, users with sysop rights always have access to the page.


If you want to embed videos from a video sharing service such as Youtube, you can use the installed extension ''EmbedVideo''. EmbedVideo is documented at [https://www.mediawiki.org/wiki/Extension:EmbedVideo www.mediawiki.org/wiki/Extension:EmbedVideo].
Example: <nowiki><code><bs:pageaccess groups="editor" /></code></nowiki>
 
}}
==How to use the video player==
 
Use the tag <code><nowiki><bs:showtime>Video.mp4</bs:showtime></nowiki></code> anywhere in an article to activate the player. Upload the video into your wiki first. You can upload the video just like an image (''Global actions > Upload file'').
 
The following video formats are supported: '''mp4, ogv, flv, webm'''
<bs:showtime autostart="false">gizmo.mp4</bs:showtime>
<br />
 
===Optional arguments===
 
You can configure the player with the following arguments:
 
{| class="contenttable-blue"
|-
! style="width:100px;" class="background-color" |Argument
! style="width:300px;" class="background-color" |Description
! style="width:150px;" class="background-color" |Type
! style="width:150px;" class="background-color" |Default
|-
||''width''
||Width of the video
||int
||320
|-
||''height''
||Height of the video
||int
||240
|-
||''autostart''
||Automatically starts the video when the page is loaded
||bool
||false
|-
||''repeat''
||Automatically repeats the video in a loop
||bool
||false
|}
 
 
'''Example syntax''': <code><nowiki><bs:showtime width="960" height="760" autostart="true">Testvideo.mp4</bs:showtime></nowiki></code>
===Compatibility matrix===
 
For technical reasons, not all video formats can be played in all browsers.
 
{| class="contenttable-blue"
|-
! style="width:150px;" class="background-color" |Format
! style="width:150px;" class="background-color" |Firefox
! style="width:150px;" class="background-color" |Chrome
! style="width:150px;" class="background-color" |Internet Explorer
|-
||mp4
||yes
||yes
||yes
|-
||flv
||yes
||yes
||yes
|-
||ogv
||yes
||yes
| style="" |no
|-
||webm
||yes
||yes
| style="" |no
|}
 
'''Please note:''' due to VideoJS standards, the player is set back from HTML5 to Flash when playing an flv-file or using Internet Explorer.
 
==Technical details==
The video player is enabled by the extension BlueSpicePlayer. An administrator has to add the necessary video extensions to the allowed file extensions in the [[Manual:Extension/BlueSpiceConfigManager|Config Manager]].
{{Box Links-en|Topic1=[[Reference:BlueSpicePlayer]] (for embedding videos that are uploaded to the wiki)|Topic2=[[Reference:EmbedVideo]] (for embedding videos form external services such as YouTube)}}
<br />
[[en:{{FULLPAGENAME}}]]
[[de:Handbuch:BlueSpicePlayer]]

Revision as of 13:48, 19 January 2022

Extension: BlueSpicePageAccess

all extensions

Overview
Description:

Controls access on page level

State: stable Dependency: BlueSpice
Developer: HalloWelt License: GPL-3.0-only
Type: BlueSpice Category: Security
Edition: BlueSpice free, BlueSpice pro, BlueSpice Farm, BlueSpice Cloud Version: 4.1+

Features

BlueSpicePageAccess allows only a certain user group access to the page.

The restriction is achieved by inserting the tag pageaccess on a page. Access restriction per page is done on a group basis. "Access" here means all actions, including read and edit. To avoid that this mechanism accidentally blocks access for all users, users with sysop rights always have access to the page.

Example: <code><bs:pageaccess groups="editor" /></code>

Technical Information

This information applies to BlueSpice 4. Technical details for BlueSpice Cloud can differ in some cases.

Requirements

  • MediaWiki: 1.36.0
  • BlueSpiceFoundation: 4.1

Integrates into

  • BlueSpiceVisualEditorConnector
  • ContentDroplets

Special pages

  • PageAccess

Permissions

Name Description Role
pageaccess-viewspecialpage Access to the special page Special:PageAccess admin, maintenanceadmin, structuremanager

Configuration

Name Value
PageAccessBlockableActions array ( 0 => 'read', 1 => 'edit', 2 => 'delete', 3 => 'move', )

API Modules

  • bs-pageaccess-store

Hooks



To submit feedback about this documentation, visit our community forum.

Discussions