Comments (9)
FBVLC and WebChimera are create by u, isn't it?
Yes, it is
We use fbvlc only to play rtsp stream in browser. But sometimes it crash easily. Will WebChimera be more stable?
You are the first who complain FBVLC stability for about a year since last version was released. I can't promise there are no bugs in WebChimera, but it's pretty stable I think. Anyway, if you will find some bug - it will be fixed (if you will report it of course)
By the way, if we don't use fbvlc and use official VLC instead, it is stable but we can't promise all browser can't load the plugin. Do you know why?
Better ask guys from videolan about it. I didn't touch Vlc Web Pugins from around 2012 (when I started FBVLC).
Forgive my poor English.
My English is far from perfect too :)
from webchimera.
About the stability of fbvlc, I mean sometimes the Browser(I usually use Chrome) tells me that, the page lose response :'the page title'. Of course in Chinese. Usually appear when I switch the tab.
from webchimera.
Never met something like this, anyway I don't plan any updates for FBVLC. If you need something similar you could use original Vlc Web Plugins or WebChimera (maybe in FBVLC mode)
from webchimera.
@lystormenvoy I don't even think that the issue you are describing is a problem of FBVLC, it is most likely a problem with your javascript.
JS mostly uses one timeline thread.. This means that when you use a function that gives a return [value-here]
at the end, then the entire browser will freeze until that return value is received.
This happens because the browser is stuck in the main timeline thread until it receives that response.
I don't think an NPAPI Browser Plugin could ever freeze the browser, only JS can freeze it. You could put some console.log("you are here #")
after each line of your JS code and after a freeze check the Developer Console to see which line was freezing the browser, then instantiate that line with setTimeout(function() { myfunction(); },1)
.
The cool thing about setTimeout()
is that it creates a different timeline thread, so the browser won't freeze waiting for a response, it will only freeze if the main timeline thread is in waiting mode.
A second reason could be that you are using a very long loop in javascript. while
and for
loops do the same thing to the main timeline thread, it freezes it in waiting mode until they have ended. This is also fixed with setTimeout()
.
To better understand the difference between synchronous and asynchronous functions, please refer to this stackoverflow question (the question is for node.js but the answers apply to all JS)
from webchimera.
As you mentioned this usually happens when you change tabs, it could also be that you are watching a high resolution video and you do not have a very good computer. FBVLC in windowless mode is known to use a lot of resources and not perform very well with high resolution videos while the browser always uses more resources when changing tabs.
Or it could be some other browser plugin from chrome, other plugins are known to make changes to your pages and react to browser actions, so you could also try to disable all chrome plugins to see if a different plugin is causing this behavior.
from webchimera.
Thanks for your replies
from webchimera.
@lystormenvoy, can we close this issue?
from webchimera.
A small update on this, I found this in the chrome comic book:
http://www.google.com/googlebooks/chrome/small_30.html
Page 31 seems to explain how NPAPI's are handled by the chrome browser and from what I understand from that page, as I stated above, NPAPI's can never freeze chrome, because they are a separate process.
So this was definitely a problem with the JS or lack of computer memory.
from webchimera.
Yes, it's correct. All modern browsers runs NPAPI plugins in separate process.
from webchimera.
Related Issues (20)
- Option to move or show player on another screen HOT 39
- How to change default asceptratio to 16:9 : HOT 4
- Setup nightly builds on http://launchpad.net
- Linux: plugin don't get keyboard events
- playlist item's .setting HOT 1
- Feature Request - nw.js 64-bit support HOT 4
- Image frozzen on Firefox with high resolution HOT 8
- MediaPlayerStateChanged should fire only on real state change HOT 11
- Taking snapshots with WebChimera Plugin HOT 112
- accelerated windowsless mode on Windows HOT 23
- Passing custom VLC arguments? HOT 4
- 'application/x-fb-vlc' mode doesn't support autoloop HOT 1
- Plugin crashes at the end of .m3u8 files HOT 3
- Packaging with VLC 3.0 does not work HOT 8
- Filter Invert Colors HOT 11
- Filter - Hue Support HOT 8
- Error: The specified module could not be found. HOT 2
- How do you play local video files HOT 2
- Video not showing when using vlc 2.1.5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webchimera.