initState method
Implementation
@override
void initState()
{
super.initState();
// set player
widget.model.player = this;
// initialize the controller
play(widget.model.url);
}
@override
void initState()
{
super.initState();
// set player
widget.model.player = this;
// initialize the controller
play(widget.model.url);
}