Keyword

Validation fix for Allvideo Joomla! extension.

  • jterwisscha
  • jterwisscha's Avatar Topic Author
  • Offline
  • New Member
More
13 years 6 months ago #44440 by jterwisscha
I found out a validation error when using youtube video's with the allvideo plugin which can be fixed easily.

In the file sources.php it says on line 222:
allowfullscreen
This should should be
allowfullscreen=\"true\"
Maybe it's even beter to leave the tag allowfullscreen out given the fact allowfullscreen is not a valid attribute of the HTML iframe tag.

Can this be updated with the next version of allvideo?
I'm not using other video sources for the time being, so I haven't found out other similar validation problems.


But I still get a validation error on the following:
<div class="avPlayerWrapper">
Result: Error Line 304, Column 29: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag


If it's an error in Allvideo or a mistake of my own I will find it out and post it here.

Good luck with the best available video plugin for Joomla!!

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

More
13 years 2 months ago #44441 by malakai1981
Replied by malakai1981 on topic Re: Validation fix for Allvideo Joomla! extension.
Hi all,

still the tag "allowfullscreen" is not XHTML 1.0 valid.

Anyway - if you delete the tag from /plugins/content/jw_allvideos/includes/sources.php

it still does what it should for me and gets validated by W3C!

I do not know how to include the code
<param name="allowFullScreen" value="true" />

in the "iFrame" way that the {youtube} tag is coded.

So for me it works the following way, I can still open a video in full  screen mode:
"youtube" => "<iframe src=\"https://www.youtube.com/embed/{SOURCE}\" width=\"{WIDTH}\" height=\"{HEIGHT}\" frameborder=\"0\" title=\"JoomlaWorks AllVideos Player\"></iframe>",

Could this be corrected in the next version please to produce XHTML 1.0 valid code? Thanks!

It is a great plugin - thanks for the hard work!

Malakai

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


Powered by Kunena Forum