I need to play a video from daylimotion in an Android WebView, I've tried with several approuches but haven't found a working solution. The video I need to play is like the one in the following URL:
http://www.dailymotion.com/video/x1iepl4_blackfish-full-documentary_animals
I would appreciate the HTML for the WebView to load the video working with daylimotion or any other approach. I've already done the same for yputube videos successfully, but that solution doesn't work for dailymotion.
Thanks in advance.
Just solved the problem. The solution is as follows:
Then the method to build the HTML is as follows:
This shows the video on full screen.
Dailymotion provides a WebView based SDK that includes all the tricks required for you to play the video easily :
dailymotion-sdk-android
The README provides an easy example of integration