ableplayer / ableplayer-wordpress

Able Player plugin for WordPress
Other
5 stars 4 forks source link

Videos for Both HTML and Shortcode Show as Unavailable and Don't Load #12

Open frastlin opened 5 months ago

frastlin commented 5 months ago

Hello, I’m attempting to use the Able Player WordPress plugin, and for some reason, the video controls are showing as unavailable for both HTML and shortcode versions. There doesn’t seem to be any errors specific to Able Player in the console. I installed the Able Player plugin through both the GUI plugin store (uninstalled it), and by pasting the unzipped ableplayer repository in the plugins folder and activating the plugin on the GUI. Firefox shows the play button, but an endless loading loop, and Chrome shows everything as unavailable. If I load the video as a file, then only the HTML video player shows with no Able Player controls. Here’s the link to the website with all demos. Here’s the HTML code I’m using for Youtube:

<video data-youtube-id="https://youtu.be/8yG2XnjCCB8" data-youtube-desc-id="https://youtu.be/HuyjrcDUTKY" id="able-player-1" data-able-player preload="auto" data-debug playsinline>
</video>

Here is the shortcode I’m using for Youtube:

[ableplayer youtube-id="8yG2XnjCCB8" youtube-desc-id="HuyjrcDUTKY"]

Here's the HTML Code I'm using with the MP4 File:

<video id="able-player-42" data-able-player preload="auto" poster="https://brandonkeithbiggs.a2hosted.com/audiom/wp-content/uploads/2022/07/Audiom-Logo-170x166-170x166-170x166.jpg">
<source type="video/mp4" src="https://brandonkeithbiggs.a2hosted.com/audiom/wp-content/uploads/2024/06/Intro-to-Audiom-ASL-Only.mp4" data-desc-src="https://brandonkeithbiggs.a2hosted.com/audiom/wp-content/uploads/2024/06/Intro-to-Audiom-ASL-and-Audio-Description.mp4">
</video>

Any help would be greatly appreciated!

thesilaswilloughby commented 5 months ago

Hello! I am having the same problem. I have tried with Vimeo, YouTube, HTML, and Shortcode. I have also attempted to upload the plugin the same way.

terrill commented 5 months ago

@thesilaswilloughby do you have a public URL where we can observe the problems you're experiencing? It will be helpful to compare that with @frastlin's demo page to see what they have in common.

joedolson commented 5 months ago

@frastlin Looking at your demo pages, everything is loading for me pretty much as expected in both Chrome and Firefox on Windows. Can you provide your browser/OS info so I can do a more comparative check?

frastlin commented 5 months ago

Hello, I went through all my plugins and disabled them and enabled them one at a time and found that W3 Total Cache breaks AblePlayer, but can't say why or what about it breaks AblePlayer.

joedolson commented 5 months ago

It's probably related to script minification; that can sometimes result in breakages in scripts, depending on how the minification is done. You can try turning of script minification in W3 Total Cache to see whether that's relevant.