-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to fullscreen the video in nw fullscreen status? #3153
Comments
@badnewfish , Can you specify your problem? What kind of video player? HTML5 video or pepper flash which newly supported on nw-v0.12-rc1? |
maybe you can set the |
video fullscreen is already supported on nwjs-v0.12 which you can download the preview version on buildbot (http://buildbot-master.node-webkit.org:8010/waterfall) |
@xueeinstein : |
@badnewfish , It's quite wired! I just paste this link http://www.w3schools.com/html/html5_video.asp into nwjs-v0.12.0-win64 address bar and check fullscreen. It works. I suggest you to work on a clean app and test fullscreen again. PS: I notice that your video-tag style is in video.js. As you know, video.js may have the power to disable video fullscreen. But I'm not sure. Hope you check it. |
|
@Marcuzzz , stay black? I think it's because the video hasn't been loaded. Can you play video on nwjs now? |
@xueeinstein :i still can not full screen the video in nwjs-v0.12 in this settings: In google browse , i pressed the F11 key ,the browse run at fullscreen status,when i clicked the ullscreen-button(the button is on the video play control),the video still play and can do fullscreen action。 |
@badnewfish , thanks! It's a reproducible issue. I have checked nwjs-v0.12.0 on both win and osx. For win, the window default fullscreen, but video cannot do fullscreen action. For osx, the window even isn't fullscreen at the beginning! And video fullscreen also doesn't work under this. @rogerwang , it's a BUG. Under window fullscreen mode, video cannot fullscreen anymore. |
@xueeinstein ,now what can i do ? |
@badnewfish , this fellow solution may work for you. Don't set |
Hmmm it's stays black because of type="video/ogg" files The code below works:
|
@Marcuzzz , you're right, I'm also confused why mp4 doesn't work. |
Any bright ideas yet? |
https://github.com/nwjs/nw.js/wiki/Using-MP3-%26-MP4-%28H.264%29-using-the--video--%26--audio--tags. |
The above link doesn't work. But I found the correct page. thx! |
I have one solution,all the problems are solved:
but now i get a new problem: |
Maybe you need add your url to |
@iwege eidt the file“package.json”? |
@iwege |
@badnewfish try |
Thanks for you,all the problems are solved, now i will Close issues: |
For new versions of nw.js,download the ffmpeg plus here: |
package.json :
{"name":"STP","main":"http://192.168.0.94:1078","webkit":{"page-cache":true},"window":{"toolbar":false,"fullscreen": true,"show_in_taskbar":true}}
click the video-playcontrol-fullscreen button,but the nw do the work is not i want;
The text was updated successfully, but these errors were encountered: