cordova-plugin-streaming-media icon indicating copy to clipboard operation
cordova-plugin-streaming-media copied to clipboard

Add a basic example of the project to an example folder in the repo

Open shamilovtim opened this issue 5 years ago • 7 comments

Currently we have no example project and this prohibits review, testing, CI and so on. We need a basic example project.

shamilovtim avatar Nov 14 '19 06:11 shamilovtim

https://github.com/Saqib92/streaming-media-example

Example project with ionic 4.

Saqib92 avatar Nov 15 '19 10:11 Saqib92

@Saqib92 thank you. at present, your example doesn't compile on both android and ios

shamilovtim avatar Nov 16 '19 00:11 shamilovtim

What Errors are you getting? its working fine here.

Saqib92 avatar Nov 18 '19 07:11 Saqib92

@Saqib92 Does it work for youtube videos? I am getting MediaPlayer Error: Unknown (1) -2147483648 Error streaming I have just changed the URL in playStreaming() method.

HarshitChhipa avatar Dec 17 '19 07:12 HarshitChhipa

@shamilovtim It did work for me just change the path of drawable-ldpi-icon's in config.xml and replace \ with /. It will work.

HarshitChhipa avatar Dec 17 '19 10:12 HarshitChhipa

@Saqib92 Does it work for youtube videos? I am getting MediaPlayer Error: Unknown (1) -2147483648 Error streaming I have just changed the URL in playStreaming() method.

for youtube Videos you can use Cordova-youtube-plugin

Saqib92 avatar Dec 17 '19 15:12 Saqib92

@Saqib92 Yeah I got that that will be played by Cordova-youtube-plugin.

HarshitChhipa avatar Dec 18 '19 10:12 HarshitChhipa