Περιγραφή
Adds shortcode support for embedding Silverstream TV media players. Shortcodes can be included in your posts and pages to quickly and easily embed Silverstream TV hosted content such as video, audio, live streams and presentations.
Basic Usage
Most basic example:
[sstv_video media=]
with substituted for the media’s ID string which can be found at the end of URLs
For example a video with this URL https://video.silverstream.tv/view/pqz4cPvk can be embedded with:
[sstv_video media=pqz4cPvk]
Advanced Usage
Several other optional attributes are supported to allow you to customise the size of the player as well as different behaviours.
Attribute
Required
Description
Example value
media
Required
Video.Silverstream Media ID
pqz4cPvk
width
Optional
player width in px
640
height
Optional
player height in px, if left blank, height is calculated from aspect ratio
360
aspect_ratio
Optional
ratio between width and height
1.7777 (16:9)
extra_height
Optional
additional height in px to be added after aspect ratio calculation
120
controls
Optional
Set to 0 to disable controls
1
autoplay
Optional
Set to 1 to enable autoplay
0
loop
Optional
Set to 1 to enable looping
0
subtitles
Optional
Set to 1 to force subtitles on
0
hide_share
Optional
Set to 1 to hide the share button
0
time
Optional
Start the video playing a number of seconds in rather than the start
15
js_control
Optional
Set to 1 to enable additional JavaScript controls for the player
0
An example of this might be
[sstv_video media=pqz4cPvk width=1280 height=720 autoplay=1]
Additionally [sstv_presentation media=pqz4cPvk]
can be used for presentations.
Εγκατάσταση
- Simply press Upload Plugin on the Plugins page of your WordPress CMS and upload silverstreamtv-embed.zip
or unzip and upload it to the /wp-content/plugins/ directory making sure the contents are in their own silverstreamtv-embed directory within /wp-content/plugins/. - Then Activate it on the plugins page
Κριτικές
Δεν υπάρχουν αξιολογήσεις για αυτό το πρόσθετο.
Συνεισφέροντες & Προγραμματιστές
“Silverstream TV Video Embed” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει στη δημιουργία του.
ΣυντελεστέςΜεταφράστε το “Silverstream TV Video Embed” στην γλώσσα σας.
Ενδιαφέρεστε για την ανάπτυξη;
Περιηγηθείτε στον κώδικα, ανατρέξτε στο αποθετήριο SVN ή εγγραφείτε στο αρχείο καταγραφής αλλαγών ανάπτυξης μέσω RSS .
Σύνοψη αλλαγών
0.0.1
Initial release