[Plugin: VideoJS – HTML5 Video Player for WordPress] Corrections to HTML markup in method add_videoj
-
While working with the product, I found three errors of the HTML in the method add_videojs_header found in the video.js file. I don’t know the proper way to submit suggested code fixes, so here it is.
19: /* Include the script and css file in the page <head> */ function add_videojs_header(){ 20: $options = get_option('videojs_options'); 21: if($options['videojs_cdn'] == 'on') { //use the cdn hosted version 22: echo ""; 23: // 09-22-2012 mophilly; added script type on line 27 and tag terminating slash on lines 26 and 31 24: echo ' 25: <link href="http://vjs.zencdn.net/c/video-js.css" rel="stylesheet" /> 26: <script type="text/javascript" src="http://vjs.zencdn.net/c/video.js"></script> 27: '; 28: } else { //use the self hosted version 29: echo ' 30: <link href="' . plugins_url( 'videojs/video-js.min.css' , __FILE__ ) . '" rel="stylesheet" /> 31: <script src="' . plugins_url( 'videojs/video.min.js' , __FILE__ ) . '"></script> 32: '; 33: } 34: }
http://wordpress.org/extend/plugins/videojs-html5-video-player-for-wordpress/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: VideoJS – HTML5 Video Player for WordPress] Corrections to HTML markup in method add_videoj’ is closed to new replies.