Comments (3)
I don't know exactly how you want to use it, but it is supported see: https://github.com/djyde/WebShell/blob/master/WebShell/WebShellMediaKeysSupport.swift#L20
from webshell.
Actually, what i want is explosing an event listener API which let WebShell can tell the website what media key the user press. It is a very useful feature for the video web application.
from webshell.
I got (for now)
"MediaKeys": [
// Enable "Back" & "Forward" (for browsing)
"BackAndForward": true,
// Media Player support (experimental)
"MediaPlayers": false
],
i'll make a event trigger API later.
the thing what makes the media keys support hard, is that via the media keys interface we can't communicate directly to the view controller unfortunately.
https://github.com/djyde/WebShell/blob/master/WebShell/WebShellMediaKeysSupport.swift
from webshell.
Related Issues (20)
- Move settings to Settings.swift
- Inject JavaScript and CSS via directory.
- WebShell crashes sometimes when clicking right after starting WebShell.
- Changes in settings doesn't work
- Prepare for Swift 3 Support HOT 4
- Build succeeds, but app stalls HOT 12
- compile errors HOT 8
- Swiping for back & Forward. HOT 1
- Fix flashScreen(..)
- Add comments for Functions
- Update for Swift 4
- Remove unnecessary tests
- Remove "xcuserdatad"
- Is it possible to memorize credentials? HOT 1
- rename internal javascript function
- LoadingBar and Launching text HOT 4
- [BUG] Unknown Window class (null) in Interface Builder file, creating generic Window instead
- gmail loads in basic HTML mode HOT 2
- SSH Problem with github repository HOT 2
- WebView is deprecated since OS X 10.14, replacement WKWebView is not used
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 webshell.