Comments (4)
It works .webm videos but it doesn't work with .mp4 ...
from awe.js.
Hello,
I'm trying to replace the picture by a video in .webm but it doesn't work... Can you explain me how did you do this ? I followed the instructions done in the awe.js tutorial but, it's doesn't work.
When i do this and when i run the program in the last Firefox"s version it doesn't work and debugguers say me : "Error: WebGL: The canvas used as source for texImage2D here is tainted (write-only). It is forbidden to load a WebGL texture from a tainted canvas. A Canvas becomes tainted for example when a cross-domain image is drawn on it. See https://developer.mozilla.org/en/WebGL/Cross-Domain_Textures".
I try to understand but i'm begineer and if you can explain me why it doesn't word for videos, it would be wonderfull !
It was easy to run the video in 3d form with three, the program run but not here...
Thanks !
from awe.js.
Hi @DigitalSismo and @Ouaps apologies for missing this issue.
This will work with Firefox but the normal CORS rules apply so you should load the video from the same host to make this easier (or adjust your CORS config).
The problem with Chrome and Opera is that they require a user touch event to start the playing of the media. This is a policy decision and you can see the background and a full discussion here https://code.google.com/p/chromium/issues/detail?id=178297
Hopefully this will change at some point in the future - but until then you can use a "start" button to work around this.
from awe.js.
@robman Thank you for your reply :)
from awe.js.
Related Issues (20)
- Awe.js with geolocation HOT 6
- awe.js banned by adblock HOT 1
- License HOT 1
- Adding Custom 3d Objects HOT 5
- Problems hiding custom 3D objects HOT 5
- A little typo in README HOT 2
- awe.projections.delete doesn't work HOT 4
- Collada loading possibilities HOT 3
- Awe.js works fine on Chromebook and Win10 but not Android HOT 3
- Is it possible to load a model using Three.JSONLoader? HOT 2
- Use with cordova? HOT 8
- Question: add custom Marker, Documentation HOT 4
- Adding a custom canvas into AWE projection HOT 1
- Question: Geo location base object. HOT 7
- Loading, progress bar HOT 2
- Is it possible to use / access settings.container_id ?
- Extremely slow loading on mobile devices HOT 1
- No camera view on android with cordova. Browser doesn't support VR HOT 1
- Can we have access to rear camera on phones? 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 awe.js.