@@ -30,7 +30,7 @@ class _PluginEditorPageState extends State<PluginEditorPage> {
3030 final TextEditingController refererController = TextEditingController ();
3131 bool muliSources = true ;
3232 bool useWebview = true ;
33- bool useNativePlayer = false ;
33+ bool useNativePlayer = true ;
3434 bool usePost = false ;
3535 bool useLegacyParser = false ;
3636
@@ -73,17 +73,6 @@ class _PluginEditorPageState extends State<PluginEditorPage> {
7373 width: (MediaQuery .of (context).size.width > 1000 ) ? 1000 : null ,
7474 child: Column (
7575 children: [
76- SwitchListTile (
77- title: const Text ('内置播放器' ),
78- subtitle: const Text ('调试时保持禁用' ),
79- value: useNativePlayer,
80- onChanged: (bool value) {
81- setState (() {
82- useNativePlayer = value;
83- });
84- },
85- ),
86- const SizedBox (height: 20 ),
8776 TextField (
8877 controller: nameController,
8978 decoration: const InputDecoration (
@@ -161,6 +150,16 @@ class _PluginEditorPageState extends State<PluginEditorPage> {
161150 });
162151 },
163152 ),
153+ SwitchListTile (
154+ title: const Text ('内置播放器' ),
155+ subtitle: const Text ('使用内置播放器播放视频' ),
156+ value: useNativePlayer,
157+ onChanged: (bool value) {
158+ setState (() {
159+ useNativePlayer = value;
160+ });
161+ },
162+ ),
164163 const SizedBox (height: 20 ),
165164 TextField (
166165 controller: userAgentController,
0 commit comments