WordPress.org

Ready to get started?Download WordPress

Forums

Secure HTML5 Video Player
Using with my php template (2 posts)

  1. jesus_internet
    Member
    Posted 1 year ago #

    Hello.

    The plugin works fine in a wordpress page with the tag [video file="myVideo"] but I am using the php-snippets plugin taht allows me to put php in my pages...

    Is there any way of invoking your plugin from my template.snippets.php because I read that I can execute that from my templates:

    get_sh5vp_featured_video($post_id, 800, 600);
    or
    sh5vp_featured_video($post_id, 800, 600);

    I put it in my snippets, the method name is recognized because the page is interpreted correctly but no response is returned, perhaps because of my parametrization... because I don't know what the $post_id is? Is this the id of the page? Or the url of the video...

    I do not have really a page_id in my snippets, I only have the url (relative or absolute) to the video I want to play...

    Any way to do it?

    I add too that my folder video is secured by password (.htaccess and .htpassword)

    Thank you
    Bye

    http://wordpress.org/extend/plugins/secure-html5-video-player/

  2. lukasdango
    Member
    Posted 10 months ago #

    Hello!

    Did you ever figure this out? I'm having the exact same problem :(

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic