Picture of Dan Jonsson
How to enlarge icon
by Dan Jonsson - Wednesday, 20 January 2016, 11:29 AM
 

How can I scale the play icon in the adapt-contrib-media component?

I´ve tried som possibilities, but I can only scale the background!

Any suggestions?

 

Danne/

Picture of Paul Steven
Re: How to enlarge icon
by Paul Steven - Wednesday, 20 January 2016, 3:54 PM
 

Not sure if this is the answer but you could try looking at mep.less in the less folder within adapt-contrib-media

.mejs-overlay-button {
position: absolute;
top: 50%;
left: 50%;
width: 100px;
height: 100px;
margin: -50px 0 0 -50px;
background: url(../../assets/bigplay.svg) no-repeat;
}

Picture of Dan Jonsson
Re: How to enlarge icon
by Dan Jonsson - Thursday, 21 January 2016, 2:12 PM
 

Thanks! I thought that it was this easy as well. 

But the real play icon is in the sheet with icons and I can't find a way to scale that as well.

I can only scale the area for the button and then the other icons on the sheet shows up instead of scaling the whole unit.

 

Danne/

 

Picture of Paul Steven
Re: How to enlarge icon
by Paul Steven - Thursday, 21 January 2016, 3:31 PM
 

Ah sorry Dan, I should have checked first before posting. That does sound like a tricky one to scale then

Picture of Matt Leathes
Re: How to enlarge icon
by Matt Leathes - Friday, 22 January 2016, 10:54 AM
 

Hi Dan

There are two play icons in the media player - which one do you need to change?

The media player itself is actually mediaelementjs so it might well be worth you digging around that website/github/stackoverflow if no-one on here can help.