Comments (9)
My bad, I thought I pushed it but got sidetracked and never finished it. I'll work on that now!
from etro.
Thank you so much, I create an open source video editing webapp based on Vidar, so i am trying to implement all of the features.
from etro.
I reverted the commit on my local repo, but there were some issues with the code that I brought back that require some major refactoring. It will probably be several more days until I finish this refactoring.
from etro.
I added destX
, destY
, destWidth
and destHeight
, which are different from x
, y
, width
and height
. The first controls where the image will be rendered onto the layer, and the second controls where the layer will be rendered onto the movie. For image and video layers, width
and height
default to destWidth
and destHeight
, but if you set them explicitly to the movie's dimensions they will not. Example:
var movie = new vd.Movie({ canvas });
var layer = new vd.layer.Image({ source: document.querySelector(...), width: movie.width, height: movie.height });
// add rotation effect to layer
// If the image destination bounding box is small enough, it should not be cropped.
// This is because the layer's dimensions fill the entire movie, but the image is only rendered onto part of the layer.
These changes haven't been released yet, so they're not documented. Another unreleased change is that now all arguments are passed to the movies and layers in the options object.
from etro.
Hello! Oh, this is because I removed the imageWidth
and imageHeight
options in 7ff3d3e. I will re-add them!
from etro.
hello is there any solution ?
from etro.
hello, i need your help in solving this issue.
from etro.
Have you tried it with the master branch? I believe it should be fixed.
i.e.
<script src="https://raw.githubusercontent.com/clabe45/vidar/master/dist/vidar-iife.js"></script>
Please let me know if the bug is still there.
from etro.
hello any update ?
from etro.
Related Issues (20)
- Integration test for play recoverability from stream buffering
- Integration test for record recoverability from buffering
- `Video` layer producing "cannot read property of undefined" error HOT 4
- In etro version ^0.10.0 setCurrentTime or seek gives error when audio layer is added HOT 4
- Configure vscode for eslint
- Split audio source error message HOT 1
- Example video is corrupt
- Karma not capturing all console output from browser HOT 1
- Audio integration test failing in GitHub Actions HOT 1
- Replace discord link with badge HOT 2
- Specify that `frameRate` is the max fps in movie method docstrings
- Add `onDraw` option to `Movie.play()` HOT 2
- Add `onDraw` option to `Movie.stream()`
- Add `onDraw` option to `Movie.record()`
- Seeking during playback doesn't seek the movie's current time HOT 2
- Can't add an outline to a text layer HOT 2
- Mute karma browser output
- `test:*` scripts in `package.json` cannot be run on Windows because of syntax error
- Can't resolve 'etro' on Next 13. HOT 13
- Quality loss when resizing picture
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 etro.