• Hi there,
    I would like to use the WordPress AJAX to return the JW mediaID for a particular video. I can then use this to create our custom player.

    The current call uses:
    /wp-admin/admin-ajax.php
    action vlog_format_content
    format video
    id 15476

    which returns:
    <script type=’text/javascript’ src=’https://content.jwplatform.com/libraries/xxxx.js’></script&gt;
    <div id=’jwplayer_xxxx_xxxx_div’></div>
    <script type=’text/javascript’>
    if(typeof(jQuery)==”function”){(function($){$.fn.fitVids=function(){}})(jQuery)};
    jwplayer(‘jwplayer_xxxx_xxxx_div’).setup(
    {“playlist”:”https:\/\/content.jwplatform.com\/feeds\/xxxx.json”,”ph”:2}
    );
    </script>

    Can you tell me how I can achieve this?

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Access to API to build player’ is closed to new replies.