• Resolved Zeeshan

    (@zisho)


    I am using your WordPress plugin “VideoIgniter”
    I wonder if I can use your shortcode with my custom code for example
    if I want to add a video like this
    do_shortcode(‘[videoigniter src=”‘ . $video_url . ‘” poster=”‘ . $poster_url . ‘” width=”900″ height=”650″]’);
    where $video_url is my custom uploaded video URL and $poster_url is the URL of my video Poster and both these files are in the media of my WordPress.

    is this possible?
    can I do it?

    • This topic was modified 5 months, 2 weeks ago by Zeeshan.
Viewing 1 replies (of 1 total)
  • Plugin Author Anastis Sourgoutsidis

    (@anastis)

    Hi Zeeshan,

    this isn’t currently possible, as videoigniter is only meant to work with video playlists, rather than single videos, and therefore you can only pass an id to an existing playlist.

    What you want can be achieved with the Video block however, which you can build dynamically and then render using the render_block() function. See the related documentation page (along with the example at the end) for more information.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.