Template Tag for Player
Chris created the topic: Template Tag for Player
Is there a template tag available for this plugin, so that it can be used in a template file?
I am trying to insert a playlist into the home page of a client site, but the directions only show shortcodes for displaying a playlist ot video within a page or post, not a template file.
If there is none, what is the main function that should called, so that the shortcode can be called within a template file via a function call?
Thank you.
Please Log in or Create an account to join the conversation.
10 years 9 months ago
Chris replied the topic: Re: Template Tag for Player
Bump in case this was overlooked.
I just need to know if a template tag exists for insertion in a template file or if it can be called with a shortcode in a template file via a base function call?
Please Log in or Create an account to join the conversation.
10 years 8 months ago
Support replied the topic: Re: Template Tag for Player
Dear Chris,
insert this
<?php echo front_end_Spider_Video_Player(id); ?>
Where id is your player's id.
Best regards,
Web-Dorado team
Joomla extensions ,
Wordpress plugins ,
Drupal modules
Please Log in or Create an account to join the conversation.
10 years 8 months ago
Chris replied the topic: Re: Template Tag for Player
Thank you.
However, I am getting a "Error: spidervideoplayerflash_1 is not defined" message in Firefox Error Console and no content is showing in the template file.
The code is as follows:
<?php echo front_end_Spider_Video_Player('1'); ?>
The error occurs at the this line:
spidervideoplayerflash_1.style.display='';
The Player, video files and playlist have been created and the playlist has been published, so I am at a bit of a loss.
Please Log in or Create an account to join the conversation.
10 years 8 months ago
Support replied the topic: Re: Template Tag for Player
Dear Chris,
Could you please give us (to [email protected]) admin access to your site, by indicating the forum post link in your email. We'll try to fix the problem as soon as possible.
Best regards,
Web-Dorado team
Joomla extensions ,
Wordpress plugins ,
Drupal modules
Please Log in or Create an account to join the conversation.
10 years 8 months ago
Chris replied the topic: Re: Template Tag for Player
Thank you.
However, I got it to work. The issue was an outdated Flash version on the PC I was testing it on. I checked it on the other PC here with an updated Flash player installed and it is working fine now.
Please Log in or Create an account to join the conversation.
10 years 8 months ago
Support replied the topic: Re: Template Tag for Player
Dear Chris,
Nice to hear you have been able to resolve the problem by yourself.
Best regards,
Web-Dorado team
Joomla extensions ,
Wordpress plugins ,
Drupal modules
Please Log in or Create an account to join the conversation.
10 years 8 months ago