Changeset 1741469
- Timestamp:
- 10/05/2017 09:55:48 AM (8 years ago)
- Location:
- floating-video/trunk
- Files:
-
- 3 edited
-
floating_video_plugin.php (modified) (5 diffs)
-
readme.txt (modified) (2 diffs)
-
video_functions.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
floating-video/trunk/floating_video_plugin.php
r1740775 r1741469 4 4 * Plugin URI: https://wordpress.org/plugins/floating-video/ 5 5 * Description: Display a video that, when scrolled out of view, moves to the corner of the screen so that the user can continue watching it while reading a post. 6 * Version: 1.2. 26 * Version: 1.2.3 7 7 * Author: jefferey11 8 8 * Author URI: https://profiles.wordpress.org/jefferey11#content-plugins … … 12 12 if( !is_admin()){ 13 13 wp_enqueue_script('jquery'); 14 wp_enqueue_script("FlVid_video_functions", plugins_url( 'video_functions.js', __FILE__ ) );15 wp_enqueue_style("FlVid_style", plugins_url( 'style.css', __FILE__ ) );14 wp_enqueue_script("FlVid_video_functions", plugins_url( 'video_functions.js', __FILE__ ), array(), "1.2.3"); 15 wp_enqueue_style("FlVid_style", plugins_url( 'style.css', __FILE__ ), array(), "1.2.3"); 16 16 } 17 17 … … 84 84 $youtube_url = str_replace('watch?v=','embed/',wp_kses_post( $video_atts[ "url" ] )) . "?rel=0"; 85 85 if ($notFirstVideo == "") { 86 $output .= "<FlVid-prefixaddv1-2-1_section class=FlVid-prefixaddv1-2-1_video$notFirstVideo><div class= FlVid-prefixaddv1-2-1_vid-wrap>";86 $output .= "<FlVid-prefixaddv1-2-1_section class=FlVid-prefixaddv1-2-1_video$notFirstVideo><div class=\"FlVid-prefixaddv1-2-1_vid-wrap fitvidsignore\">"; 87 87 } 88 88 $output .= "<iframe id=responsive_video$id"; … … 113 113 $vimeo_url = str_replace('vimeo.com','player.vimeo.com/video',wp_kses_post( $video_atts[ "url" ] )) . "?title=0&byline=0&portrait=0"; 114 114 if ($notFirstVideo == "") { 115 $output .= "<FlVid-prefixaddv1-2-1_section class=FlVid-prefixaddv1-2-1_video$notFirstVideo><div class= FlVid-prefixaddv1-2-1_vid-wrap>";115 $output .= "<FlVid-prefixaddv1-2-1_section class=FlVid-prefixaddv1-2-1_video$notFirstVideo><div class=\"FlVid-prefixaddv1-2-1_vid-wrap fitvidsignore\">"; 116 116 } 117 117 $output .= "<iframe id=responsive_video$id"; … … 141 141 }else { 142 142 if ($notFirstVideo == "") { 143 $output .= "<FlVid-prefixaddv1-2-1_section class=FlVid-prefixaddv1-2-1_video$notFirstVideo><div class= FlVid-prefixaddv1-2-1_vid-wrap>";143 $output .= "<FlVid-prefixaddv1-2-1_section class=FlVid-prefixaddv1-2-1_video$notFirstVideo><div class=\"FlVid-prefixaddv1-2-1_vid-wrap fitvidsignore\">"; 144 144 } 145 145 -
floating-video/trunk/readme.txt
r1740783 r1741469 39 39 == Changelog == 40 40 41 = 1.2.3 = 42 * Fixed confilict issues with some themes and plugins 43 41 44 = 1.2.2 = 42 45 * Minor improvements … … 71 74 == Upgrade Notice == 72 75 76 = 1.2.3 = 77 * Fixed confilict issues with some themes and plugins 78 73 79 = 1.2.2 = 74 80 * Minor improvements -
floating-video/trunk/video_functions.js
r1740743 r1741469 1 1 window.addEventListener("load", FlVid_find_height1); 2 window.addEventListener("load", FlVid_removefitvids); 2 3 function FlVid_find_height1() { 3 4 window.setTimeout(FlVid_find_height,0); … … 42 43 } 43 44 45 function FlVid_removefitvids() { 46 jQuery(".fitvidsignore > .fluid-width-video-container > .fluid-width-video-wrapper > iframe").css( "width", "100%" ); 47 jQuery(".fitvidsignore > .fluid-width-video-container > .fluid-width-video-wrapper > iframe").css( "height", "100%" ); 48 49 jQuery(".fitvidsignore > .fluid-width-video-container > .fluid-width-video-wrapper").removeClass("fluid-width-video-wrapper").attr("style", "width: 100%; height: 100%;"); 50 51 jQuery(".fitvidsignore > .fluid-width-video-container").removeClass("fluid-width-video-container").attr("style", "width: 100%; height: 100%;"); 52 } 53 44 54 45 55 var normal_width = jQuery('#FlVid_normal_width').clientWidth;
Note: See TracChangeset
for help on using the changeset viewer.