作者:admin

网站中video方式引入视频资源,播放时提示The media could not be loaded, either because the server or network failed or because the format is not supported.的一种原因

网站中video方式引入视频资源,播放时提示The media could not be loaded, either because the server or network failed or because the format is not supported.的一种原因

文章最后有2020年最新更新的解决排查方案。 在网站中用HTML5自带的video标签或者video.js的等插件的HTML5模式引入视频后,有少数用户反应观看所有视频时均无法播放,显示如下错误: The media could not be loaded, either because the

admin admin 2018-01-31
7.4W+ 46 0
神坑react-native之黄色警告Remote debugger is in a background tab which may cause apps to perform slowly. Fix this by foregrounding the tab (or opening it in a separate window).

神坑react-native之黄色警告Remote debugger is in a background tab which may cause apps to perform slowly. Fix this by foregrounding the tab (or opening it in a separate window).

在调试react native项目的时候打开 Debug JS Remotely 浏览器远程调试模式后,偶尔会出现黄色警告提示: Remote debugger is in a background tab which may cause apps to perform slowly. Fix th

admin admin 2018-01-30
5.4K+ 0 0
WEBStorm和PHPStorm设置代码文字默认大小的方法

WEBStorm和PHPStorm设置代码文字默认大小的方法

在高分辨率的屏幕下,phpstorm&webstorm默认打开文件后代码文字偏小,虽然可以 ctrl+鼠标滚轮的方式调整文字大小,但每打开一个文件都要调一下,比较麻烦。设置文字默认大小的方式如下: 菜单栏->File->Setting->Editor->Color

admin admin 2018-01-29
2.8K+ 0 0
神坑react native之react-native-swiper组件导入react-navigation中不显示文字图片等内容的解决方案

神坑react native之react-native-swiper组件导入react-navigation中不显示文字图片等内容的解决方案

开发环境:react native:0.51  , react-native-swiper:1.5.6 , react-navigation:1.0.0 beta27 APP主要架构使用的是react-navigation组件的TabNavigator实现底部tab切换,但是在首屏中引入封装好的

admin admin 2018-01-22
3.5K+ 0 0
神坑react native之react-navigation组件TabNavigator模式底部图标tabBarIcon不显示的解决方案

神坑react native之react-navigation组件TabNavigator模式底部图标tabBarIcon不显示的解决方案

在react native项目中使用了react-navigation组件的TabNavigator模式,制作tab切换效果很方便,但是按照官方的写法,编译后在tab标题栏并没有显示icon图标,经排查,icon图标配置没有问题,只是写在tabBarIcon属性里会出现不显示的情况。 经过反复

admin admin 2018-01-21
5.2K+ 0 0
神坑React Native之react-native-vector-icons组件报错While resolving module `react-native-vector-icons/MaterialIcons`, the Haste package `react-native-vector-icons` was found. However the module `MaterialIcons` could not be found within the package的解决方案

神坑React Native之react-native-vector-icons组件报错While resolving module `react-native-vector-icons/MaterialIcons`, the Haste package `react-native-vector-icons` was found. However the module `MaterialIcons` could not be found within the package的解决方案

react native项目中使用了大名鼎鼎的图标组件 react-native-vector-icons组件,但是今天测试的时候红屏报错: error: bundling failed: Error: While resolving module `react-native-vector-icon

admin admin 2018-01-20
3.1K+ 0 0
中国高速铁路线路图2018年最新版,旅游出差必备!

中国高速铁路线路图2018年最新版,旅游出差必备!

中国高速铁路及动车组运行线路示意图(2018.09.30最新版),经常出门在外的可以收藏下。 2018年1月版更新内容: - 西成客专开通 - 石济客专开通 - 渝贵铁路开通 - 衢九铁路开通 - 徐兰客专萧淮客运联络线 - 长株潭城际长沙站以西段 - 广惠城际东莞境内剩余段(不

admin admin 2018-01-14
4.4K+ 4 0
只有程序员才有的神逻辑

只有程序员才有的神逻辑

- 豆子,我去买午饭,你要带饭咩? - 好呀好呀   - 要一份盒饭,要是看到卖小橘子的,要五个   - 豆子,我看到卖橘子的啦! - 谢谢小受   - 我恨程序员!!

admin admin 2018-01-09
1.9K+ 0 0
webstorm设置ftp连接和自动同步的方法

webstorm设置ftp连接和自动同步的方法

在本地写代码,保存后能让代码自动同步到服务器,想必是极好的。webstorm中自带了ftp服务,我们稍加配置即可。 1、找到webstorm菜单栏中的,Tools->Deployment->Configuration 2、点击左上角加号,然后给ftp连接起个名字,注意,type为

admin admin 2018-01-08
6.4K+ 0 0
换种超炫酷的姿势写代码,webstorm activate-power-mode插件安装及配置

换种超炫酷的姿势写代码,webstorm activate-power-mode插件安装及配置

很多人选择atom编辑器的原因可能像我一样,被下面这张图诱惑了。 这种粒子+抖动效果是用activate-power-mode插件实现的,简直就是装逼神器。 有开发者将此插件移植到了webstorm中。 安装和配置方法如下: 1、去webstorm插件中心下载activate-power

admin admin 2018-01-07
6.8K+ 0 0
1 15 16 17 18 19 27