How can i embedded aparat video in eclipse without relative? - android-webview

I want to add movies in my app how can i embedded them in my app without relative movies at end ?
my Movies uploaded in aparat (like youtube ) .

Related

How to add multiple youtube playlist with video in my flutter app?

I need to add Youtube playlist with Youtube player in my flutter application.And i want to add multiple playlist. When i will upload video to youtube then autometically will have to appears on my flutter app.
I saw some tutorial, where people use hereku server to fetch youtube api to flutter app. But they use just a single playlist. here is the link
Can you tell me how i can add multiple playlist on my app.
Thank You :)
I think you could maybe try a combination of this two packages:
youtube_api:
With this package you could fetch all the videos inside a playlist and (as it goes directly through Youtube API) the list should update as soon as a new video is uploaded.
youtube_player_flutter:
Given a certain list of youtube video ids, you can use this player to reproduce them (I’ve used it in a project and worked perfectly, even with live streams)
So, I guess that combining them would be my fist approach.
Update 31 Jan 20201
I tried youtube_api package but couldn't make it load the videos from a specific youtube playlistId neither, so I've checked their code and created a new implementation that only retrieves the videos from a specific playlistId.
Here is the code if you want to take a look https://github.com/rodrigoc85/flutter-load-youtube-playlist

unity 3d game using youtube videos api

youtube video selection
youtube video played on background
hello so i want to ask few questions , i have managed and developed a game , me and my developing team to use youtube video player api and use the player to select music and then hit the play button to play the arrows game while video and music played on the background.
this is the main idea of the game, were you have songs from youtube that we add using youtube link and it just loads the video and streams it using youtube api java files that they provide for developers and we let players play the video and play the arrows that we have built our selfs.
we dont use or modify or change or download any files from youtube.
all the images, videos, sound are loaded through youtube API for android.
are we allowed to have this and to develop this game for android and IOS and let poeple download it and play it ?
thank you
As long as you don't circumvent ads on any videos/music and don't claim it as your own, I don't see why not? Youtube is a platform for viewing, not stealing. So if you're just viewing, go for it.
so as i said we dont run ads inside the video, we just load it using their api they provide for developers.
you choose the song > loads from youtube > we get info like image > we sync arrows related to the song length and current song time (all info loaded from youtube api and we save them on the script) then we have the arrows script that we developed it starts based on the info we get from youtube song
and when the song starts the arrows starts and start spawning the arrows based on an xml file that we create.
so after the user played the game he will get music credits based on how good he did and how many stars he collected (max of 5 stars) so he can buy avatars for him or unlock new songs to play. or choose to buy vip access and play all free.
so this idea is a combination of different games that we already saw on market
1) flash flash revolution (4 arrow rythem game like DDR)
2) tap tap reborn 2 (mobile game that uses youtube api as we do but it has guitar hero style) its already on market with ads/vip/coins to unlock and play music.
3) "just dance now" on mobile (stars and score and music credit)

Pulling songs from iOS music library into an App?

I am developing an HTML5 mobile application that should allow users to upload music directly into the application.
The music should be able to be pulled from:
Youtube (opens YouTube interface to insert YouTube link)
SoundCloud (opens SoundCloud profile to insert link/mp3)
Upload from Phone (open iOS music library within phone to select song to upload)
Question:
I want to allow the users to pick a song from their iOS native music library and upload it directly into the app as an mp3.
I've read that a possible solution is to copy the raw song data to the App Storage Directory via the AVAssetReader.
Any other good solutions?
Im going to assume then this is a hybrid so the app will be part native. Yes, you can get the raw song data. You can get it in a variety of different file types. You can do whatever you want to it. You want to somehow send it across to a server, and then load it back into your app on the html5 web interface? Sounds crazy but you might be able to do that. You also might have legal issues and get denied from the app store.

Accessing media library in iOS

I want to access songs from media library and then want to cut a part of that song.
I have written function to cut a song from bundle and it is working fine.
Now I want to allow user to select song from library, how can I do that?
Just like how you access all other media in ios- using AssetsLibrary, more about this here:
http://developer.apple.com/library/ios/#documentation/Miscellaneous/Conceptual/iPhoneOSTechOverview/MediaLayer/MediaLayer.html
Be aware that all the media is read only and you can manipulate only a copy of the songs and not the original.

Play a video from video gallery in iPhone app

I am developing an iPhone app, in which I have to play multiple videos like "Top rated", "Most played","Favorites" etc.. Each category may have around 20 videos. So having around 100 videos inside resources folder increases the app size. So what I am trying to do is, first saving all the videos locally within the device and selecting the respective videos from the app whenever these videos needs to be played. So is it possible to do so?
Or have to have all the videos inside resources folder?
Thanks in advance.
yes, this is very well possible. you can store your videos in the device before instead of the resources folder and use the ALAssetsLibrary to get access to your videos stored in the photo library.
refer this on how to use the ALAssetsLibrary display image from URL retrieved from ALAsset in iPhone