Comments (11)
iphone-inline-video
is javascript
Most email clients don't support javascript
from iphone-inline-video.
No, not email. Just click on the link in the email to open the web page. Video won't play on Safari.
from iphone-inline-video.
My bad, I'm seeing that now. Make sure that you call makeVideoPlayableInline()
after setting the src
to the video
from iphone-inline-video.
Actually, I'm not seeing the props on the <video>
element at all, so make sure that the function is actually called
These should appear at the bottom of the output of dir(video)
in the console via remote debugger:
from iphone-inline-video.
ok, will try tomorrow, thanks
from iphone-inline-video.
@bfred-it Hmmm, I moved makeVideoPlayableInline
after setting the src's to the video. Still no luck.
See changes at
https://github.com/binarykitchen/videomail-client/blob/master/src/wrappers/visuals/replay.js#L92
that show() function is called after mp4 + webm sources are set.
Have bumped www.videomail.io with these changes - if you do not mind to check again, that would be very much appreciated.
from iphone-inline-video.
Once I set that to something else the video appears, but for some reason the module is not running because the symbols are not there and the video plays fullscreen. Also you're missing the CSS to hide the play button https://github.com/bfred-it/iphone-inline-video#usage
Again, the issue is somewhere in your code and I can't debug that
from iphone-inline-video.
Right, I can reproduce all the above with Valence now (but have added the missing CSS).
So, I have really no idea why width is set to 0. In the Videomail-Client code I set the width and height of the video dom element before the makeVideoPlayableInline()
call. Is that good or should I set width/height after that call?
See from https://github.com/binarykitchen/videomail-client/blob/master/src/wrappers/visuals/replay.js#L86
from iphone-inline-video.
Video size shouldn't affect the module. You just need to make sure that the src
or currentSrc
properties are set when you call that function.
from iphone-inline-video.
@bfred-it ah, finally got it. the height was wrongly calculated before. works well on iphones now :)
but why does the video play full-screen and not inline? any ideas why?
from iphone-inline-video.
Re-read this: #16 (comment)
You're not calling the function. On your website I called it on the video and it works.
The only limitation is that you can't use the browser's play/pause buttons: #16 (comment)
from iphone-inline-video.
Related Issues (20)
- Handle autoplay state and events correctly HOT 1
- Some properties don't work in fullscreen
- Test HOT 1
- Test
- Replace ಠ with IIV? HOT 5
- Some warnings/errors when installing with npm v5.0.3 HOT 1
- [iOS] Autoplay doesn't work with css prop display:none HOT 1
- Use the iphone-inline-video with vidoe. Js HOT 1
- Would this library work on non-webGL devices? HOT 3
- It doesn't work for in-app video HOT 1
- [Deprecation] 'HTMLVideoElement.webkitDisplayingFullscreen' is deprecated. Please use 'Document.fullscreenElement' instead. HOT 4
- option to force IIV to be used on iOS 11 when in low power mode HOT 1
- vpaid enabled ? HOT 1
- Error DOMException HOT 9
- Is there a way to do this on an iframe element instead of <video>? HOT 1
- Common and es modules HOT 2
- ios11.2.5
- video.pause is not a function. in Chrome device Mode with iPhone simulations only. (React) HOT 1
- Control bar not Hidden HOT 1
- React uses enableInlineVideo to cause the ios8 and 9 devices to play video abnormally HOT 1
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 iphone-inline-video.