aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--readme.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/readme.txt b/readme.txt
index c6fc081..54917e7 100644
--- a/readme.txt
+++ b/readme.txt
@@ -31,7 +31,7 @@ Embed video files with LibreVideoJS beautifully in WordPress, adaptable to diffe
To embed a video in a new post/page use the following Shortcode:
-`[librevideojs_video url="http://example.com/wp-content/uploads/videos/myvid.webm" url_calidad="1080p" code="webm"]`
+`[librevideojs_video url="http://example.com/wp-content/uploads/videos/myvideo.webm" url_calidad="1080p" code="webm"]`
Here, "url" is the location of the source file of WebM Video (VP8 and VP9 encoded). You need to replace the 'url' with the actual link of the video file.
When you don't want to use multiple resolutions, there is no need to write 'url_calidad' to specify the video quality.
@@ -47,7 +47,7 @@ The parameter url is the URL of the video and url_calidad (example: 4k, 2k, 1080
Do not forget to put code="webm" or code="ogv" depending on the format of your file.
Then it is also necessary to specify with the command selector="resolution to show" the default resolution (720p, 480p, 360p, 240p, 144p), for example:
-`[librevideojs_video url="http://example.com/wp-content/uploads/videos/myvid.webm" code="webm" url_calidad="1080p" selector="360p"]
+`[librevideojs_video url="http://example.com/wp-content/uploads/videos/myvideo.webm" code="webm" url_calidad="1080p" selector="360p"]
[calidades lvjs_calidad="720p" src_video="video720.webm" lvjs_code="webm"]
[calidades lvjs_calidad="480p" src_video="video480.webm" lvjs_code="webm"]
[calidades lvjs_calidad="360p" src_video="video360.webm" lvjs_code="webm"]
@@ -59,7 +59,7 @@ Then it is also necessary to specify with the command selector="resolution to sh
To add subtitles use the command 'track' followed by the parameters: 'kind', 'subt', 'srclang', 'Label', 'default' (optional) from HTML.
It is recommended that the subtitles are in your web site, i.e., if your website is 'https://www.example.com/' subtitles should be in 'https://www.example.com/subtitles/mysubtitles.vtt' or in a similar URL. Subtitles will not be loaded if you import them from another website (http://www.another_website.com/subs/subtitles.vtt).
-`[librevideojs_video url="http://example.com/wp-content/uploads/videos/myvid.webm" url_calidad="1080p" code="webm" selector="360p"]
+`[librevideojs_video url="http://example.com/wp-content/uploads/videos/myvideo.webm" url_calidad="1080p" code="webm" selector="360p"]
[track kind="captions" subt="http://localhost/web/wp-content/uploads/subtitles/en.vtt" srclang="en" label="English"]
[track kind="captions" subt="http://localhost/web/wp-content/uploads/subtitles/es.vtt" srclang="es" label="Spanish" default="true"]
[track kind="captions" subt="http://localhost/web/wp-content/uploads/subtitles/pt.vtt" srclang="pt" label="Portuguese"]
@@ -78,13 +78,13 @@ Specifies how the video must be loaded when you load the page. By default this i
* "metadata" - only the metadata must be loaded when you load the page.
* "none" - the video should not be loaded when you load the page.
-`[librevideojs_video url="http://example.com/wp-content/uploads/videos/myvid.webm" preload="metadata" url_calidad="1080p" code="webm"]`
+`[librevideojs_video url="http://example.com/wp-content/uploads/videos/myvideo.webm" preload="metadata" url_calidad="1080p" code="webm"]`
**Controls**
Specifies that the video controls must be shown. Its default value is "true". In order to hide the controls, set this parameter to "false".
-`[librevideojs_video url="http://example.com/wp-content/uploads/videos/myvid.webm" controls="false" url_calidad="1080p" code="webm"]`
+`[librevideojs_video url="http://example.com/wp-content/uploads/videos/myvideo.webm" controls="false" url_calidad="1080p" code="webm"]`
When you disable the controls, users will not be able to interact with your videos. It is therefore recommended that you enable the playback without using the command controls.
@@ -98,19 +98,19 @@ Makes the video file to play automatically when the page is loaded.
Defines the image to display as a placeholder before the video is played.
-`[librevideojs_video url="http://example.com/wp-content/uploads/videos/myvid.webm" poster="http://example.com/wp-content/uploads/poster.jpg" url_calidad="1080p" code="webm"]`
+`[librevideojs_video url="http://example.com/wp-content/uploads/videos/myvideo.webm" poster="http://example.com/wp-content/uploads/poster.jpg" url_calidad="1080p" code="webm"]`
**Loop**
Makes the video play again from the beginning when it finishes.
-`[librevideojs_video url="http://example.com/wp-content/uploads/videos/myvid.webm" loop="true" url_calidad="1080p" code="webm"]`
+`[librevideojs_video url="http://example.com/wp-content/uploads/videos/myvideo.webm" loop="true" url_calidad="1080p" code="webm"]`
**Mute**
Specifies that the audio output of the video must be muted.
-`[librevideojs_video url="http://example.com/wp-content/uploads/videos/myvid.webm" muted="true" code="webm"]`
+`[librevideojs_video url="http://example.com/wp-content/uploads/videos/myvideo.webm" muted="true" code="webm"]`
For detailed documentation, please visit the website of the plugin [LibreVideoJS HTML5 Player](https://notabug.org/Heckyel/librevideojs-html5-player)