Fix video rotation via style param#526
Conversation
|
Are you sure construction |
It shouldn't be an issue: https://caniuse.com/mdn-javascript_operators_spread_spread_in_function_calls |
|
I'm also transpiling from typescript to es2015/es6, which begins support on Safari 10, so I would be extremely surprised if there are any syntax issues. |
|
+1 for this, solves video rotation not working with PTZ enabled =D |
|
@dbuezas I applied these changes manually, and rotation + ptz works in Firefox but not Chrome Beta... Version 115.0.5790.98 (Official Build) beta (64-bit), or in the Android HAOS App... wondering if you can test or if it's just me. |
|
@dbuezas maybe it's easier to implement rotation param for card. So users shouldn't use custom style for that |
|
I use chrome and the android app and it works for me. Maybe you haven't cleared cache? Regarding styling in general, I also use it myself to cut a video in half in a "double lense" camera, so it is quite useful to have it IMO |
You're right! My mistake, it works well! |
|
Thanks! |
|
I'm not sure if I left a comment on how the heck this works, so here it is:
|
|
Oh, and adds a wrapper element around the video so it can manipulate it without interfering with the user styles |
Solves incompatibility with rotated video.
Reported in: