• Hi,

    I have file index.php in which code is like this :

    include('video.php');
    Some code here....
    the_content();

    Now video.php file is like this :

    <div class="post-video">
    	<?php echo apply_filters('the_content', getxyz("video_url")); ?>
    </div>

    Now this all things working file but problem is when I use any plugin like sharedaddy which insert social icons two times. Because I called apply_filters(‘the_content’.. in video and then again the_content. So is there any filter available to parse youtube and vimeo URL and show video which I can use instead of ‘apply_filters(‘the_content’….’, So i can use it in video.php to show video of youtube and vimeo.

    Ankur

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘any filter which can parse youtube and vimeo videos’ is closed to new replies.