WordPress.org

Ready to get started?Download WordPress

Forums

MediaElement.js - HTML5 Video & Audio Player
many errors with MediaElement.js plugin (2 posts)

  1. marco-raaphorst
    Member
    Posted 1 year ago #

    put WordPress in debug mode and you will see this when using the MediaElement.js plugin for a mp3 files:

    Notice: Undefined variable: type_attribute in /home/offline/domains/offline070.com/public_html/hack/wp-content/plugins/media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 428
    
    Notice: Undefined variable: width_attribute in /home/offline/domains/offline070.com/public_html/hack/wp-content/plugins/media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 428
    
    Notice: Undefined variable: height_attribute in /home/offline/domains/offline070.com/public_html/hack/wp-content/plugins/media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 428
    
    Notice: Undefined variable: poster_attribute in /home/offline/domains/offline070.com/public_html/hack/wp-content/plugins/media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 428
    
    Notice: Undefined variable: autoplay_attribute in /home/offline/domains/offline070.com/public_html/hack/wp-content/plugins/media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 428
    
    Notice: Undefined variable: mp4_source in /home/offline/domains/offline070.com/public_html/hack/wp-content/plugins/media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 429
    
    Notice: Undefined variable: mp3_source in /home/offline/domains/offline070.com/public_html/hack/wp-content/plugins/media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 430
    
    Notice: Undefined variable: webm_source in /home/offline/domains/offline070.com/public_html/hack/wp-content/plugins/media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 431
    
    Notice: Undefined variable: flv_source in /home/offline/domains/offline070.com/public_html/hack/wp-content/plugins/media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 432
    
    Notice: Undefined variable: wmv_source in /home/offline/domains/offline070.com/public_html/hack/wp-content/plugins/media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 433
    
    Notice: Undefined variable: ogg_source in /home/offline/domains/offline070.com/public_html/hack/wp-content/plugins/media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 434
    
    Notice: Undefined variable: captions_source in /home/offline/domains/offline070.com/public_html/hack/wp-content/plugins/media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 435
    
    Notice: Undefined variable: loop_option in /home/offline/domains/offline070.com/public_html/hack/wp-content/plugins/media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 445
    
    Notice: Undefined variable: mediahtml in /home/offline/domains/offline070.com/public_html/hack/wp-content/plugins/media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 452

    Please fix this.

    http://wordpress.org/extend/plugins/media-element-html5-video-and-audio-player/

  2. Micah Wood
    Member
    Posted 1 year ago #

    Yes. There are several variables that are only defined within if statements, but used regardless of whether they are defined:

    Notice: Undefined variable: src_attribute in /media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 428
    Notice: Undefined variable: type_attribute in /media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 428
    Notice: Undefined variable: width_attribute in /media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 428
    Notice: Undefined variable: height_attribute in /media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 428
    Notice: Undefined variable: poster_attribute in /media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 428
    Notice: Undefined variable: autoplay_attribute in /media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 428
    Notice: Undefined variable: mp4_source in /media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 429
    Notice: Undefined variable: mp3_source in /media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 430
    Notice: Undefined variable: webm_source in /media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 431
    Notice: Undefined variable: flv_source in /media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 432
    Notice: Undefined variable: wmv_source in /media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 433
    Notice: Undefined variable: ogg_source in /media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 434
    Notice: Undefined variable: captions_source in /media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 435
    Notice: Undefined variable: flash_src in /media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 438
    Notice: Undefined variable: loop_option in /media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 445
    Notice: Undefined variable: mediahtml in /media-element-html5-video-and-audio-player/mediaelement-js-wp.php on line 452

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic