Comments (6)
Video plays on iOS yes, but autoplay doesn't work. i.e. where video loads and plays automatically when the website loads.
I'll do my best to whip up an example asap.
It's a known requirement for autoplaying vids on iOS (sucks i know)
https://developer.apple.com/documentation/webkit/delivering_video_content_for_safari
from hugo-video.
I'd like to reproduce the wrong behaviour. Please post your repo and a link.
from hugo-video.
Hey @martignoni
Sorry, It's a private repo, unfortunately.
Forked change here:
https://github.com/big5am/hugo-video
Here's the shortcode I'm using
{{< video autoplay="true" loop="true" src="videoname" muted="true" controls="false" playsinline="true" width="300px"}}
from hugo-video.
Sorry, It's a private repo, unfortunately.
I'm afraid it's not possible to fix something I (or others) cannot reproduce as a bug: video play correctly on iOS (see e.g. https://moodlebox.net/en/help/root-certificate-install-macos/, source code: https://github.com/moodlebox/moodlebox.net/tree/master/content/en/help/install-certificate-macos).
Please try to publish a minimal working (buggy) example, so that we can confirm there's indeed something to fix.
from hugo-video.
Thanks for the ref. I'll fix this soon.
from hugo-video.
I'll go for adding playsinline
by default, as it has no real drawbacks.
from hugo-video.
Related Issues (16)
- .MediaType.Suffixes returns empty array for m4v when site is deployed to GitLab HOT 1
- Use `static` as source for videos? HOT 4
- Video extension m4v is not supported HOT 6
- width attribute doesn't function HOT 2
- height attribute not supported
- Could not use http link in video. HOT 1
- Message "Your browser doesn't support embedded videos" displays when quoting video HOT 2
- the module works, but no movie HOT 6
- video.js support HOT 3
- Page Bundle HOT 3
- Wrong download link when using shortcode multiple times on same page HOT 4
- Link in error message not correctly parsed HOT 2
- File with unsupported extension displays a video with no content HOT 2
- Shortcode breaks when file not found HOT 1
- Where video files must be? HOT 3
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 hugo-video.