Thank you for your interest in NativeScript! As you know NativeScript is an open source project with large and growing community. That said I would recommend joining the community channels (join Slack here
and the GitHub issues
) to be in touch with the latest ideas.
At this very moment, there is no plugin developed for audio streaming expect for the Spotify plugin
. This plugin was developed specifically using the Spotify API and the author is a member of the NativeScrip community. Perhaps,getting n touch with other members in the slack channel will give you ideas on how to create your own streaming plugin.
Another plugin that works with audio (but not streaming) is nativescript-sound
Developed by the community and also open-source this can be, as well, a starting point on how to implement your own plugin
As for you code sample from the web part - you can not implement DOM specific code in NativeScript application. The reason is because NativeScript is DOM-independent which means the technology behind it is not using the document object model and does not understand the specifics that a DOM browser uses.
However, you can use web-view
in which you can provide web content so perhaps that is one valuable option.
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal
and vote to affect the priority of the items