Comments (3)
Hello
I would like to start by thanking you for the wealth of information you have attached.
I cannot recall encountering this specific issue, but I think I can narrow down where this is going wrong by asking you to include a custom html block on a page or post.
As you wonβt provide a public url, that is the best I can do. Itβs purpose would be to include custom html with page-wide controls, which should work in any case. Will that work for you?
Also, have you tried turning off other plugins and themes, so you can know which one(s) lead to this behaviour?
lastly can I ask why a pdf for the screenshot? This issue would be a great place for all that information.
from media-playback-speed.
Hi Lewis,
Thanks for your prompt reply. I will crank up our dev version of the instance next week (workload permitting) and try creating a custom html block.
I've tried turning off the plugins, but the problem persisted. I haven't tried using a different theme, so I'll try that if the custom html block doesn't give me any joy.
The reason I pdf'ed all the screenshot info is because from personaI experience, I know that lazy programmers like me prefer to scroll directly to the solution without having to plough through lines of code. If I get a solution though, I will post full details here.
Thanks again for your help.
from media-playback-speed.
This does sound like the theme is in some way interacting with the plugin. It's a fairly simple plugin, which simply adds a template to the footer, and enqueues some JavaScript.
The custom HTML would be this snippet from https://wordpress.org/support/topic/does-this-still-work-34/
<div class="page-playback-speed-controls">
<button type="button" class="playback-rate-button" data-value="0.5" title="Playback Speed 0.5x" aria-label="Playback Speed 0.5x">0.5x</button>
<button type="button" class="playback-rate-button mejs-active" data-value="1" title="Playback Speed 2x" aria-label="Playback Speed 1x">1x</button>
<button type="button" class="playback-rate-button" data-value="1.5" title="Playback Speed 1.5x" aria-label="Playback Speed 1.5x">1.5x</button>
<button type="button" class="playback-rate-button" data-value="2" title="Playback Speed 2x" aria-label="Playback Speed 2x">2x</button>
</div>
If this does not work, then I would check if the JavaScript is enqueued. There are many plugins and themes that believe they have a "one-click way to make everything fast"... Unfortunately they usually do this poorly.
The JavaScript, tag that should be included is
<script src="/wp-content/plugins/media-playback-speed/playback-speed.js?ver=1.2.1" id="cd2-media-playback-speed-js-js"></script>
from media-playback-speed.
Related Issues (10)
- Gutenberg blocks
- Question: Is this really that needed any more?
- Playback speeds only appearing on some pages and browsers HOT 1
- audio player not working HOT 6
- Thank you, great plugin HOT 1
- More playback choices possible? HOT 4
- Current speed setting highlighted HOT 8
- Speed Button Working Only After Play Is First Pressed HOT 16
- The speed controls doesn't show up on all the videos.. only some HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from media-playback-speed.