Problem with version 1.10.0
-
Updated from 1.9.4 to 1.10.0 and now the player doesn’t work. I see the splash screen, but no play button and I see a gray area extending from the right of the splash screen. Here’s a link to one of the clips:
http://www.familylegacyvideo.com/video-clip/we-had-a-dreary-passage/Is there a way I can reinstall 1.9.4?
For some reason, the clip I have on my home page (http://www.familylegacyvideo.com/) works, but none of the others do.
Thanks.
-
Hey sorry for that. Please could you update the code in the functions.php to:
/** * Allow flowplayer files should be loaded on the home page. */ function fp5_has_shortcode( $has_shortcode ) { if ( is_front_page() ) { $has_shortcode = is_front_page(); } return $has_shortcode; } add_filter( 'fp5_filter_has_shortcode', 'fp5_has_shortcode' );
Thanks
Ulrich,
Thanks so much for your quick response.Questions:
When I go to edit the flowplayer plug-in, I see a page with the following heading: Editing flowplayer5/flowplayer.php (active)Is this where I update the code? And where do I insert the new code? Also, I wondering about the “loaded on the home page” notation – this will not adversely affect the clip I have on my home page, I assume?
Here’s the code as it currently appears:
<?php
/**
*
* @package Flowplayer HTML5 for WordPress
* @author Ulrich Pogson <ulrich@pogson.ch>
* @license GPL-2.0+
* @link http://flowplayer.org/
* @copyright 2013 Flowplayer Ltd
*
* @wordpress-plugin
* Plugin Name: Flowplayer HTML5 for WordPress
* Plugin URI: http://wordpress.org/plugins/flowplayer5/
* Description: A HTML5 responsive video player plugin. From the makers of Flowplayer. Includes player skins, tracking with Google Analytics, splash images and support for subtitles and multi-resolution videos. You can use your own watermark logo if you own a Commercial Flowplayer license.
* Version: 1.10.0
* Author: Flowplayer ltd.
* Author URI: http://flowplayer.org/
* Text Domain: flowplayer5
* Domain Path: /languages
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
*/// If this file is called directly, abort.
if ( ! defined( ‘WPINC’ ) ) {
die;
}global $fp5_options;
// Plugin Root File
if ( ! defined( ‘FP5_PLUGIN_FILE’ ) )
define( ‘FP5_PLUGIN_FILE’, __FILE__ );require_once( plugin_dir_path( __FILE__ ) . ‘includes/class-flowplayer5.php’ );
require_once( plugin_dir_path( __FILE__ ) . ‘includes/class-flowplayer5-widget.php’ );
require_once( plugin_dir_path( __FILE__ ) . ‘includes/class-register-post-type.php’ );
require_once( plugin_dir_path( __FILE__ ) . ‘includes/class-register-taxonomy.php’ );
require_once( plugin_dir_path( __FILE__ ) . ‘includes/functions.php’ );
require_once( plugin_dir_path( __FILE__ ) . ‘admin/settings/register-settings.php’ );
$fp5_options = fp5_get_settings();if( is_admin() ) {
require_once( plugin_dir_path( __FILE__ ) . ‘admin/class-flowplayer5-admin.php’ );
require_once( plugin_dir_path( __FILE__ ) . ‘admin/class-flowplayer5-meta-box.php’ );
require_once( plugin_dir_path( __FILE__ ) . ‘admin/class-flowplayer5-taxonomy-meta.php’ );
require_once( plugin_dir_path( __FILE__ ) . ‘admin/flowplayer-drive/class-flowplayer-drive.php’ );
require_once( plugin_dir_path( __FILE__ ) . ‘admin/flowplayer-drive/class-flowplayer-drive-error.php’ );
require_once( plugin_dir_path( __FILE__ ) . ‘admin/insert-video-button.php’ );
if ( ! class_exists( ‘Gamajo_Dashboard_Glancer’ ) ) {
require plugin_dir_path( __FILE__ ) . ‘admin/includes/class-gamajo-dashboard-glancer.php’;
}
if ( ! class_exists( ‘Gamajo_Dashboard_RightNow’ ) ) {
require plugin_dir_path( __FILE__ ) . ‘admin/includes/class-gamajo-dashboard-rightnow.php’;
}
} else {
require_once( plugin_dir_path( __FILE__ ) . ‘frontend/class-flowplayer5-frontend.php’ );
require_once( plugin_dir_path( __FILE__ ) . ‘frontend/class-flowplayer5-output.php’ );
require_once( plugin_dir_path( __FILE__ ) . ‘frontend/class-flowplayer5-shortcode.php’ );
}// Register hooks that are fired when the plugin is activated, deactivated, and uninstalled, respectively.
register_activation_hook( __FILE__, array( ‘Flowplayer5’, ‘activate’ ) );
register_deactivation_hook( __FILE__, array( ‘Flowplayer5’, ‘deactivate’ ) );Flowplayer5::get_instance();
Flowplayer5_Post_Type::get_instance();
Flowplayer5_Taxonomy::get_instance();
if( is_admin() ) {
Flowplayer5_Admin::get_instance();
Flowplayer5_Video_Meta_Box::get_instance();
$flowplayer_drive = new Flowplayer_Drive();
add_action( ‘plugins_loaded’, array( $flowplayer_drive, ‘run’ ) );
new Flowplayer5_Taxonomy_Meta();
} else {
new Flowplayer5_Frontend();
new Flowplayer5_Shortcode();
}I think you added some code to the functions.php in your theme to have the video work for the front page. You would just need to update to it to what I mentioned in the previous post.
Is it possible for me to correct the problem by reinstalling 1.9.4? If so, how can I reinstall?
You could download 1.9.4 and replace the files via FTP.
I would like to work to solve this issue so that you are able to get future updates and be stuck on version 1.9.4.
If you could me via my site I could have a look and see if I can fix it on your site.
https://ulrich.pogson.ch/contact-meI just sent this info to you via your site: The code you sent for the home page is already in place. That’s why the clip works on the home page. As I mentioned before, the home page clip is not the problem, it’s the rest of the clips on my site, that can be accessed from this page: http://www.familylegacyvideo.com/family-history-video-biography-family-video-production-services/video-clips/
Click through to each video using the “View Video” button and you’ll see that the clips don’t load or play.
I need this fixed quickly. If we can’t figure this out within a day, I’d like to reinstall the previous version. I don’t care about ugrades; I just want it to work. Thanks.
- The topic ‘Problem with version 1.10.0’ is closed to new replies.