“最难不过坚持”
本人承接扒站仿站,php网站维护,病毒查杀,网站编辑,网站改版,html制作
有需要网站维护,改版,病毒查杀,网站编辑,网站备案,html制作等相关的工作可以联系我。
本人有多年相关工作经验,也可提供免费咨询,交个朋友。
有需要探讨问题的朋友,也可以加我微信,共同探讨!
微信:15011482830 QQ:408917339
- https://jueru.net/
-
评 留言
- :weixiao:
-
评 留言
- :shuijiao: :weiqu: :zhenbang: :leng:
-
评 留言
- :yiwen: :yiwen: :yiwen: :yiwen:
-
评 EasySass: could not generate CSS file. See Output panel for details.
- 这个业务逻辑多少都有点奇怪了,阅读浏览次数增值在新闻详情页的控制器方法里setInc,这怎么还写进模型事件里了。如果非要用onAfterRead也可以,把新闻文章的内容单独分出来一个news_content表,然后把它和news做关联,然后给news_content表的onAfterRead事件做增值处理,这样点进新闻页内查询到文章内容时才会触发它。
-
评 TP6模型事件-查询后onAfterRead不好用
可以用的m3u8视频文件,可用于测试
https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8
测试地址:
https://www.m3u8play.com/
https://www.hlsplayer.net/
找到几个卫视直播的信号源,前2个肯定能用,后面没测试
广西卫视:https://mobilelive.gxtv.cn/live/nn_live1004/playlist.m3u8
综艺旅游频道:https://mobilelive.gxtv.cn/live/nn_live1005/playlist.m3u8
都市频道:https://mobilelive.gxtv.cn/live/nn_live1006/playlist.m3u8
影视频道:https://mobilelive.gxtv.cn/live/nn_live1003/playlist.m3u8
新闻频道:https://mobilelive.gxtv.cn/live/nn_live1007/playlist.m3u8
公共频道:https://mobilelive.gxtv.cn/live/nn_live1000/playlist.m3u8
科教频道:https://mobilelive.gxtv.cn/live/nn_live1010/playlist.m3u8
国际频道:https://mobilelive.gxtv.cn/live/nn_live1009/playlist.m3u8
乐思购频道:https://mobilelive.gxtv.cn/live/nn_live1002/playlist.m3u8
移动数字电视频道:https://mobilelive.gxtv.cn/live/nn_live1001/playlist.m3u8
再贴一个直播的代码(就是扒的这个页面的代码https://www.m3u8play.com/)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wb="http://open.weibo.com/wb">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>卫视直播</title>
</head>
<body>
<!--HLSPlayer代码开始-->
<div style="max-width: 1200px; margin: auto;" >
<video id="player" class="video-js vjs-16-9 vjs-big-play-centered" controls preload="auto" data-setup="{}" autoplay="autoplay">
<source src="https://mobilelive.gxtv.cn/live/nn_live1005/playlist.m3u8" type="application/x-mpegURL">
<p class="vjs-no-js">
To view this video please enable JavaScript, and consider upgrading to a web browser that
<a href="https://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a>
</p>
</video>
</div>
</body>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/video.js@7.4.1/dist/video-js.min.css">
<script src="https://cdn.jsdelivr.net/npm/video.js@7.4.1/dist/video.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@videojs/http-streaming@1.10.3/dist/videojs-http-streaming.min.js"></script>
</html>
宁夏卫视:http://stream.nxtv.com.cn/wspd/sd/live.m3u8?_upt=975d4cf21629347710