Keyword

Video Player Does Not Load with Dynamic Value

  • Presto
  • Presto's Avatar Topic Author
  • Offline
  • New Member
More
12 years 2 months ago #52158 by Presto
I have installed and enabled the All Videos plugin and it works for the most part.  The trouble I have is when I generate the video ID by a SQL query.  For example...

www.youtube.com/watch?v=OU3W552S54s

Let’s say that a user has uploaded the link above as a database entry.  I then have a script which extracts the ID and assigns it to a variable:

$value = ‘OU3W552S54s’;

Then on the user’s profile, I have the following code:

{youtube}<?php echo $value;?>{/youtube}

Rather than having the video player displayed on the profile, I get the following output on the screen:

{youtube}OU3W552S54s{/youtube}

If the value is hard coded, the video player works fine.  Can you please advise on how I might be able to get a dynamic value to function properly?  Thank you for your time.

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #52159 by Katia
I am afraid that is not possible.
AllVideos works as it said in documentation.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum