Jump to content


Photo
- - - - -

Responsive video shortcode


Best Answer Danny , 13 November 2013 - 02:40 PM

Your code wasn't valid.

 

You have a missing " before the tQQmq9X5lQw 

 

However, there does indeed appear to be some kind of issue with the responsive videos shortcode, as wen added correctly the video doesn't look correct. As you can see from here - http://d.pr/i/QcXU

I have reported this, your best option would be to embed your videos using this instead:

 

 <div class="fitvids">
Your Video embed code goes here
</div>

 

Like so:

 

 <div class="fitvids">
<iframe width="560" height="315" src="//www.youtube.com/embed/tQQmq9X5lQw" frameborder="0" allowfullscreen></iframe>
</div>
Go to the full post


  • Please log in to reply
16 replies to this topic

#1 keithmagvacom

keithmagvacom

    Advocate

  • Members



  • 413 posts
  • Framework Version:2.4
  • Country: Country Flag

Posted 02 November 2013 - 07:58 PM

Hi all

 

On our web site at

Please Login or Register to see this Hidden Content

 I have a youtube video linked defined by the short code:

 

[pl_video type="youtube" id="Wh0_gWqkzzs"]

 

For whatever reason these are not working at the moment in google chrome. They are working fine in safari.

 

Any ideas?

 

 



#2 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 02 November 2013 - 08:56 PM

Keith,

 

I don't see any video in Chrome or in Firefox.  That code should work in all browsers.  I'm not sure what's happening.  I'll set up a test on my own server and see what's going on.



#3 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 02 November 2013 - 09:01 PM

Did you add the shortcode to a TextBox or MediaBox?

 

I just tested it on my site without any trouble.  I'm just wondering if the container is somehow hiding it.



#4 keithmagvacom

keithmagvacom

    Advocate

  • Members



  • 413 posts
  • Framework Version:2.4
  • Country: Country Flag

Posted 03 November 2013 - 12:07 PM

Hi Rob

No its just added to the page inside

<div="row">

<div class="span6">[pl_video type="youtube" id="Wh0_gWqkzzs"]</div><div class="span6">Text</div>/div>

 

Its working fine in safari, not in chrome. Didn't check in firefox or IE



#5 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 03 November 2013 - 04:04 PM

Your code is broken.  Look at the closing /div>.

 

It should be </div>



#6 keithmagvacom

keithmagvacom

    Advocate

  • Members



  • 413 posts
  • Framework Version:2.4
  • Country: Country Flag

Posted 03 November 2013 - 07:44 PM

Hi Rob

Its not broken on the site.



#7 Danny

Danny

    Is Awesome!

  • Moderators
  • 17653 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 04 November 2013 - 10:44 AM

Hi,

 

I copied and pasted your code and added it to a page on my test site, the video displays correctly. Therefore, you most likely have a plugin or custom script causing a conflict.

Please Login or Register to see this Hidden Content

 

You will see the screenshot above, that I have added "Header 5 with no Text ?" this is because in your code, you have the following:

 

<h5></h5>

Not sure why you add header tags and no use them?



#8 keithmagvacom

keithmagvacom

    Advocate

  • Members



  • 413 posts
  • Framework Version:2.4
  • Country: Country Flag

Posted 04 November 2013 - 08:52 PM

Thanks Danny

 

Will investigate the plugin's. Its strange that they still work in some browsers but not chrome!

 

The <h5></h5> was for spacing. Wanted the top of video to be aligned with the top of the text (just below its heading which was also a h5)



#9 Danny

Danny

    Is Awesome!

  • Moderators
  • 17653 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 05 November 2013 - 11:20 AM

When I add the code to my site, I checked the following browsers Chrome, FF, Safari and Opera the video displayed in all.



#10 grahamd79

grahamd79

    Advanced Member

  • Members

  • 56 posts
  • Country: Country Flag

Posted 12 November 2013 - 02:05 PM

Hi, had a similar problem - since last update I get a blank youtube frame which just comes up with "an error occurred please try again later - learn more" message. It is the same in text box as postloop content. Any one else had a problem?

Thanks



#11 Danny

Danny

    Is Awesome!

  • Moderators
  • 17653 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 13 November 2013 - 10:07 AM

@

Please Login or Register to see this Hidden Content

- Can you provide a link to your site and also provide the code you have used please.



#12 grahamd79

grahamd79

    Advanced Member

  • Members

  • 56 posts
  • Country: Country Flag

Posted 13 November 2013 - 01:12 PM

Sure 

Please Login or Register to see this Hidden Content

 the code currently used on there is

Please Login or Register to see this Hidden Content

 but before I had a few parameters that worked fine.



#13 Danny

Danny

    Is Awesome!

  • Moderators
  • 17653 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 13 November 2013 - 01:29 PM

From what I can see the URL that is generated from the YouTube video isn't correct, what video are you trying to embed, can you provide a link please?



#14 grahamd79

grahamd79

    Advanced Member

  • Members

  • 56 posts
  • Country: Country Flag

Posted 13 November 2013 - 02:23 PM

At the moment just a test video 

Please Login or Register to see this Hidden Content



#15 Danny

Danny

    Is Awesome!

  • Moderators
  • 17653 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 13 November 2013 - 02:40 PM   Best Answer

Your code wasn't valid.

 

You have a missing " before the tQQmq9X5lQw 

 

However, there does indeed appear to be some kind of issue with the responsive videos shortcode, as wen added correctly the video doesn't look correct. As you can see from here - 

Please Login or Register to see this Hidden Content



I have reported this, your best option would be to embed your videos using this instead:

 

Please Login or Register to see this Hidden Content

 

Like so:

 

Please Login or Register to see this Hidden Content



#16 grahamd79

grahamd79

    Advanced Member

  • Members

  • 56 posts
  • Country: Country Flag

Posted 13 November 2013 - 02:44 PM

OK thanks a lot!



#17 Danny

Danny

    Is Awesome!

  • Moderators
  • 17653 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 13 November 2013 - 02:48 PM

No problem.