Video link code not pulling the the video from my server

dipzeen's Avatar


30 Apr, 2020 08:43 PM

slider.ev.on('rsOnCreateVideoElement', function(e, url) {
        // url - path to video from data-rsVideo attribute
        // slider.videoObj - jQuery object that holds video HTML code
        // slider.videoObj must be IFRAME, VIDEO or EMBED element, or have class rsVideoObj
    slider.videoObj = $('<video> <source src = URL : ' + `> `+ '</video>' );

a class="rsImg" href="1st witness.png" data-rsvideo="First testimony.mp4">
                        <div class="rsTmb">
                          <h5>Bro. Jackson's</h5>
                          <span>First Witness</span>

  1. Support Staff 1 Posted by Dmytro Semenov on 01 May, 2020 06:43 AM

    Dmytro Semenov's Avatar


    I do not quite understand what do you do in this part:

    '<video> <source src = URL : ' + `> `+ '</video>'

    you probably need something like:

    slider.ev.on('rsOnCreateVideoElement', function(e, url) {
                slider.videoObj = $('<video><source src="'+url+'" type="video/mp4"></video>');
  2. 2 Posted by dipzeen on 02 May, 2020 02:33 PM

    dipzeen's Avatar

    Thanks Dmitry for your prompt response. really appreciate

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac