VideoJS live RTMP stream, player and video size issue
来源:互联网 发布:cisco查看端口流量 编辑:程序博客网 时间:2024/06/05 05:15
I have setup a page with a videojs html5 player that automatically starts to play a remote RTMP live stream. It works.
When I start the stream the video appears as a tiny box in the top left of the player. The player is 1280x720 and the video is streaming from a computer or android phone at any resolution, but it also starts in the top left corner.
I haven't measured the resolution of the video in the corner but I'd guess it's about 40x40. When I select the fullscreen option the video stretches to full screen. When I shut off fullscreen the video correctly fills in the player.
I would expect the video to start and fill the player right away without having to fullscreen/restore it. Any advice or direction would be greatly appreciated it.
This is what I'm working with
<html><head><title> Stream Player </title> <link href="video-js.css" rel="stylesheet" type="text/css"> <script src="video.js"></script> <script> videojs.options.flash.swf = "video-js.swf"; </script></head><body bgcolor=000000> <center> <font face="verdana" color=993333><h1>Test</h1></font> <video id="livestream" class="video-js vjs-default-skin vjs-big-play-centered" controls autoplay preload="auto" width="1280" height="720" data-setup='{"example_option":true}'> <source src="rtmp://webserver.example:1935/live/streamname" type="rtmp/mp4"> </video> </center></body></html>
- VideoJS live RTMP stream, player and video size issue
- HTML5 Dev (1) Live Video Streaming Player
- Videojs播放RTMP流媒体
- Videojs播放RTMP流媒体
- VideoJS - HTML5 Video
- videojs集成--播放rtmp流
- Video size
- videojs rtmp 视频显示在左上角问题
- chromium flash player issue
- Scalable Live Video Streaming with NGINX Plus and BITMOVIN
- stream RTMP to server
- HTML5 Video Player
- Open Video Player (OVP)
- 初尝Xamarin Live Player
- html5 video live
- ipod live stream
- Apple http live stream
- Stream live media (HTTP)
- Python实现进程资源共享
- Intent不能传递超过40K的bitmap
- 韩信点兵算法
- HTML结构与语法
- jni-jobject操作对象
- VideoJS live RTMP stream, player and video size issue
- 查看AppStore中App的Appid
- Bash中的任务(job)管理
- 单元测试设计原则
- iOS MVVM架构的介绍(内含Demo)
- Swift - UIView,UILabel,UIButton,UIImageView
- Disruptor编程指南
- 谷歌发布Android Awareness API,提升应用智能化
- 『python学习』正则表达式学习