Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49083

How to target videojs wrapping div with ng-class

$
0
0

@rossi256_tricktionar wrote:

Hi, i am trying to use css transform to change the video apperance (trying to flip the video by clicking a button).

I have this code in html and the class is added elsewhere,- now i would need to target the div around the actual tag - it seems it just doesn't replace/add the class here...

<video video-js id="video-js" class="video-js vjs-default-skin vjs-big-play-centered" ng-class="{ 'mirrored': mirrored}"
controls preload="auto"
// poster="{poster}"
height="100%"
width="100%"
webkit-playsinline style="width: 100%; height: 100%">
</video>

anyone with an idea?
Thanks!
Michael

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>