How can we help?

Search for anything about Yendif Video Share

Adding Video in Articles

We are pleased to say that “Yendif Video Share” could be added to your Article pages. To use this option, first, you need to enable the plugin from “System → Manage → Plugins → Player – Yendif Video Share“. Then using {yendifplayer} syntax inside the content area of your article page will replace the syntax with the Yendif Video Share Player.

Write the shortcode on a single line and separate each option with a single space. Only the options you need have to be included — everything else falls back to your Player Profile Settings.

Playing video through DIRECT URL

{yendifplayer mp4=http://mysite.com/video.mp4 image=http://mysite.com/poster.jpg captions=http://mysite.com/subtitle.vtt}
OptionDescriptionExample
mp4Path or URL of the MP4 (H.264) video file.http://mysite.com/video.mp4
mp4_hdOptional HD source, offered as a quality option inside the player.http://mysite.com/video-hd.mp4
webmOptional WebM source of the same video.http://mysite.com/video.webm
ogvOptional Ogg Video source of the same video.http://mysite.com/video.ogv
imagePoster image displayed before and after the video playback.http://mysite.com/poster.jpg
captionsWebVTT subtitle file for the video.http://mysite.com/subtitle.vtt

Configure YouTube / Vimeo video

{yendifplayer youtube=https://www.youtube.com/watch?v=mzPxo7Y6JyA ratio=56.25}
OptionDescriptionExample
youtubeYouTube watch URL. The thumbnail is fetched automatically when no image is given.https://www.youtube.com/watch?v=mzPxo7Y6JyA
vimeoVimeo video URL. The thumbnail is fetched automatically when no image is given.https://vimeo.com/76979871

Configure live stream (HLS / DASH)

{yendifplayer hls=http://mysite.com/stream/playlist.m3u8 image=http://mysite.com/poster.jpg}
OptionDescriptionExample
hlsURL of an HLS playlist (.m3u8) for HTTP Live Streaming.http://mysite.com/stream/playlist.m3u8
dashURL of an MPEG-DASH manifest (.mpd).http://mysite.com/stream/manifest.mpd

Note : RTMP streams are configured on the Video itself. Add the Video to your library with the RTMP source type, then embed it using the videoid option shown below.

Adding single video through ID

{yendifplayer videoid=X ratio=56.25}
OptionDescriptionExample
videoidID of a Video already added to your Video library. All of its own settings — source type, poster, captions — are used.1

Note : X – refer to the VIDEO ID.

Adding video playlist

{yendifplayer catid=X orderby=latest filterby=none limit=10}
OptionDescriptionExample
catidCategory ID whose videos build the playlist.3
orderbyOrder of the videos in the playlist: latest, date_added, most_viewed, most_rated, a_z, z_a, random or ordering.latest
filterbyLimit the playlist to Featured videos, or apply no filter: featured or none.none
limitMaximum number of videos in the playlist.10
playlist_positionWhere the playlist sits next to the player: right or bottom.right
playlist_widthWidth of the playlist in pixels, used when the position is right.250
playlist_heightHeight of the playlist in pixels, used when the position is bottom.125
autoplaylistPlay the next video automatically when the current one ends: 0 or 1.1

Note : X – refer to the CATEGORY ID.

Configuring Player

The options below can be added to any of the shortcodes above to override your Player Profile Settings for that one player.

{yendifplayer videoid=1 width=640 ratio=56.25 autoplay=1 volume=50 share=0}

Size & playback

OptionDescriptionExample
widthMaximum width of the player in pixels. Leave it out for a player that fills the available width.640
ratioHeight of the player as a percentage of its width — 56.25 for 16:9, 75 for 4:3.56.25
autoplayStart playing as soon as the page loads: 0 or 1.0
loopReplay the video when it ends: 0 or 1.0
volumeVolume the player starts at, from 0 to 100.50

Player controls

Each of these takes 0 to hide the control or 1 to show it.

OptionDescriptionExample
playbtnLarge play button in the centre of the player.1
controlbarThe whole control bar along the bottom of the player.1
playpausePlay / pause button.1
currenttimeElapsed time display.1
progressProgress bar.1
durationTotal duration display.1
volumebtnVolume button and slider.1
fullscreenFullscreen button.1
embedEmbed code option.1
shareSocial share option.1

Still stuck on something? We’re just an email away. Reach out to us here, and you should receive a reply within 24 hours, except on Sundays.

Scroll to Top