cristallium commented on PR #1195:
URL: https://github.com/apache/royale-asjs/pull/1195#issuecomment-1120752208
> Media.swc or part of HTML5.swc?
This is a very goot question. I'm not sure to have the right answer. If the
_philosophy_ of Media.swc is to have the same methods as Flex then it's not the
case, so HTML5.swc or HTMLMedia.swc would be better. Perhaps opinion from
others would be necessary ?
> In TDJ, ScaleMode doesn't work for me, does it work for you?
Yes it's working for me on FireFox and Chrome. Css is necessary for
scaleMode. (I added it at the end of default.css of Jewel but sorry, I forgot
to commit).
Here are needed styles :
```
.jewel.videoplayer.letterbox {
object-fit: contain;
}
.jewel.videoplayer.zoom {
object-fit: cover;
}
.jewel.videoplayer.stretch {
object-fit: fill;
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]