I created a web browser using WebView and WebEngine classes of JavaFX. It is working fine but not able to play videos. It is opening youtube.com but is not playing videos of youtube. It is asking to install Adobe flash player. Even after installing, the problem is same. Do I have to integrate some plug-in of Adobe Flash Player in my Java code. If yes, how? Or there is some other solution. Kindly help.
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
WebView in JavaFX 2.2 does not support plugin based content such as Flash content.
As alternatives, for launching YouTube video content from JavaFX you can use:
The YouTube iframe embedding API embeds html5 video content, rather than flash video content and html5 video content works in WebView.
For more info, see http://www.youtube.com/html5