Page 1 of 1

Changing the VLCMediaPlayer layer view

Posted: 26 Jan 2016 11:30
by diegostamigni
Hello, just a quick question: is it possibile to change (or better, reset/update) the drawable of a VLCMediaPlayer (MobileVLCKit) instance that is already attached ?

For example:

Code: Select all

VLCMedia *media = [[VLCMedia alloc] initWithURL:url]; VLCMediaPlayer *player = [[VLCMediaPlayer alloc] init]; [player setMedia:media]; [player setDrawable:pipView]; [player play]; // is this possible ? [player setDrawable:fullscreenView];

After a quick try, it's not working at all. Why ?

Re: Changing the VLCMediaPlayer layer view

Posted: 28 Jun 2016 09:41
by Jean-Baptiste Kempf
This will probably crash.