Translate

AlbanianArabicEnglishFrenchGermanItalianRussianSpanish

Shortcodes For GD Player – WordPress Plugin (Support Page)

Shortcodes

Add Shortcodes

[GDPlayer] or [GDEmbed] ... ( [GDEmbed]  works only if is Enabled. )

Add YouTube Videos

[GDPlayer youtube="https://www.youtube.com/watch?v=pRZqRjxkHpk"]

Add Video Mp4

[GDPlayer mp4="https://ingolin.com/example-video.mp4"]

Add Video Mp4 and Image (Poster)

[GDPlayer mp4="https://ingolin.com/example-video.mp4" poster="https://ingolin.com/example.png"]

Add Video Mp4, Image and Subtitles

[GDPlayer mp4="https://ingolin.com/example-video.mp4" poster="https://ingolin.com/example.png"][track kind="captions" src="https://ingolin.com/wp-content/subtitles.vtt" srclang="en" label="English" default="true"][/GDPlayer]

or

[GDPlayer mp4="https://ingolin.com/example-video.mp4" poster="https://ingolin.com/example.png"][track kind="captions" src="https://ingolin.com/wp-content/subtitles.vtt" srclang="en" label="English" default="true"][track kind="captions" src="https://ingolin.com/wp-content/subtitle2.vtt" srclang="it" label="Italian" default="false"][/GDPlayer]

Add Mp4, OGG, WEBM, POSTER, PRELOAD, AUTOPLAY, WIDTH/HEIGHT, CLASS, CONTROLS, MUTED & SUBTITLES

[GDPlayer mp4="https://ingolin.com/example-video.mp4" ogg="https://ingolin.com/example-video.ogg" webm="https://ingolin.com/example-video.webm" poster="https://ingolin.com/example.png" preload="auto" autoplay="true" width="640" height="360" class="alignleft" controls="false" muted="true"] [track kind="captions" src="https://ingolin.com/wp-content/subtitles.vtt" srclang="en" label="English" default="true"][/GDPlayer]

 

Add Shortcodes For Google Drive Videos

[GDPlayer] or [GDEmbed] ... ( [GDEmbed]  works only if is Enabled. )

Add Google Drive Videos

[GDPlayer gdrive="https://drive.google.com/file/d/1gNAt_8dBiLmvL9fLpSUQZZlh_ViNKA4l/view"]

Add Google Drive Videos and Image (Poster)

[GDPlayer gdrive="https://drive.google.com/file/d/1gNAt_8dBiLmvL9fLpSUQZZlh_ViNKA4l/view" poster="https://ingolin.com/example.png"]

Add Google Drive Videos, Image and Subtitles

[GDPlayer gdrive="https://drive.google.com/file/d/1gNAt_8dBiLmvL9fLpSUQZZlh_ViNKA4l/view" poster="https://ingolin.com/example.png"][track kind="captions" src="https://ingolin.com/wp-content/subtitles.vtt" srclang="en" label="English" default="true"][/GDPlayer]

or

[GDPlayer gdrive="https://drive.google.com/file/d/1gNAt_8dBiLmvL9fLpSUQZZlh_ViNKA4l/view" poster="https://ingolin.com/example.png"][track kind="captions" src="https://ingolin.com/wp-content/subtitles.vtt" srclang="en" label="English" default="true"][track kind="captions" src="https://ingolin.com/wp-content/subtitle2.vtt" srclang="it" label="Italian" default="false"][/GDPlayer]

 

WIDTH / HEIGHT

The width / height of the video.

[GDPlayer width="640" height="360"]

AUTOPLAY

Start playing the video as soon as it’s ready. Use ‘true’ or ‘false’.

[GDPlayer autoplay="true"]

CONTROLS

Use ‘false’ to hide the player controls.

[GDPlayer controls="false"]

PRELOAD

Start loading the video as soon as possible, before the user clicks play. Use ‘auto’, ‘metadata’, or ‘none’. Auto will preload when the browser or device allows it. Metadata will load only the meta data of the video.

[GDPlayer preload="auto"]

LOOP

Causes the video to start over as soon as it ends. Use ‘true’ or ‘false’.

[GDPlayer loop="true"]

MUTED

Use ‘true’ to initially mute video.

[GDPlayer muted="true"]

CLASS

Add a custom class to your player. Use full for floating the video player using ‘alignleft’ or ‘alignright’.

[GDPlayer class="alignright"]

TRACKS

Add subtitles .vtt

[track kind="captions" src="https://ingolin.com/wp-content/subtitles.vtt" srclang="en" label="English" default="true"]

POSTER

The location of the (IMAGE) poster frame for the video.

[GDPlayer poster="https://ingolin.com/example.png"]

GOOGLE DRIVE

Add Google Drive Video link

[GDPlayer gdrive="https://drive.google.com/file/d/1gNAt_8dBiLmvL9fLpSUQZZlh_ViNKA4l/view"]

YOUTUBE

Add YouTube Video link

[GDPlayer youtube="https://www.youtube.com/watch?v=pRZqRjxkHpk"]

MP4

Add Mp4 Video link

[GDPlayer mp4="https://ingolin.com/example-video.mp4"]

OGG

Add Ogg Video link

[GDPlayer ogg="https://ingolin.com/example-video.ogg"]

WEBM

Add Webm Video link

[GDPlayer webm="https://ingolin.com/example-video.webm"]

Installation

 if you are using free version, before to active the pro version you need to deactivate the free version. 

From within WordPress

  1. Visit Plugins > Hit (Add New) button.
  2. Search for ‘GD Player’.
  3. Hit the (Install now) button.
  4. After installing, hit the (Active) button.

Manually

  1. Visit Plugins > Hit (Add New) button.
  2. Hit (Upload Plugin) Button.
  3. Hit (Choose File) Button
  4. Select (gd-player.zip) and Hit the (Install now) button.
  5. After installing, hit the (Active) button.

 Subtitles does not show? 

If you video does not show subtitles

  1. Make sure the subtitles are VTT format.
  2. You need to upload subtitles on your website.

Leave a Reply

inGolin.com © 2018 Terms of Agreement Powered by: Leo Theme Pro