• On updating the WordPress to 4.9.2, I cannot play rtmp stream through my custom plugin even after installing mediaelemnt flash fallback plugin.

    This is the source I have included in my plugin

    <video id="wpws-video-player-mep">
    	    <source type="video/<?php echo $type ?>" src="<?php echo $type == 'youtube' ? 'https://www.youtube.com/watch?v=' . $url.'&rel=0&showinfo=0' : urldecode($url) ?>">
    	</video>
    	<script>
    	    jQuery(function ($) {
    	    $('#wpws-video-player-mep').mediaelementplayer({
                    pluginPath: '<?php echo site_url(); ?>/wp-includes/js/mediaelement/',
    	        classPrefix: 'mejs-',
    	        isClickable: false,
    		    enableAutosize: true,
    		    stretching: 'responsive',
    		    enablePseudoStreaming: true,
    		    loop: false,
    		    autoRewind: false,
    		    enableKeyboard: false,
    	        features: ['playpause', 'volume'],
    	
    	    success: function (mediaElement, domObject) {
    	<?php if ($autoplay == 1) { ?>
    	        mediaElement.play();
    	<?php } ?>
    	    },
    	    });
    	    });
    
    	</script>
    
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ian Dunn

    (@iandunn)

    Was it working in 4.9.1, or did you upgrade from 4.8.x? I ask because the 4.8 to 4.9 upgrade changed from MediaElement 2.x to MediaElement 4.x, which could also be the problem.

    The 4.9.1 to 4.9.2 upgrade removed the SWF files and some renderers for 3rd party platforms. See https://core.trac.www.ads-software.com/ticket/42720

    What happens when you load the page? What do you see in the video area? Are there any errors in the JavaScript console? What’s the URL of the page where this is happening? What browser are you using?

    Hi there,

    I am struggling on how to make my RTMP streams work on my wordpress page. Below is the detail of my RTMP source.

    Streaming server url: rtmp://139.59.114.236:1935/live_stream
    Stream key: LIVE

    Thank you for support.

    Sam

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘RTMP stream not playing’ is closed to new replies.