backdrop-contrib / video_filter

A Backdrop CMS port of drupal.org/project/video_filter, a highly flexible and easily extendable filter module to embed any type of video in your site using a simple token.
GNU General Public License v2.0
2 stars 2 forks source link

The <iframe> frameborder attribute is not supported in HTML5. #2

Closed findlabnet closed 5 years ago

findlabnet commented 9 years ago

The W3C validator is not happy and two simple fixes can change it, so in video_filter.module line 326 should be like:

`$output = '<iframe src="' . $video['source'] . '" width="' . $video['width'] . '" height="' . $video['height'] . '" class="' . implode(' ', $classes) . '" ' . $attributes . '></iframe>';

and at end of video_filter.css need to be added

.video-filter {
  border: none;
}