fluttercommunity / fluttercommunity/flutter_webview_plugin

help me !Cannot make videos to play on fullscreen

Open
#546 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
1.5k
Forks
938
PR merge metrics
No merged PRs in 30d

Description

this is my code . is it right?
help!!!!!!
===========================================================
class _HomePageState extends State {
String url = 'https://www.doudoudm.com/';
final flutterWebViewPlugin = FlutterWebviewPlugin();

@override
Widget build(BuildContext context) {
return WebviewScaffold(
url: url,
appBar: AppBar(
title: const Text('animation'),
elevation: 0.0,
centerTitle: true,
leading: IconButton(
icon: Icon(Icons.menu),
onPressed: () => Navigator.of(context).push(MaterialPageRoute(builder: (context) {
flutterWebViewPlugin.hide();
return MyPage();
})).then((value) => flutterWebViewPlugin.show())),
),
withZoom: true,
withLocalStorage: true,
withJavascript: true,
hidden: true,
displayZoomControls: true,
initialChild: Container(
width: double.infinity,
child: Center(
child: Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Text(
'Loading.....',
style: TextStyle(color: Colors.pinkAccent),
)
],
),
),
),

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.