Let's say I have a flash video streaming website, what are some ways in which users could add comments, links, effectively mark up a video?
Why not just allow them to add comments and links using the videos unique id and store this info in your database? Unless you mean editing the video itself.
You could use flash to read comments from an xml file then display it on top of the video. PLease elaborate on how you want these comments displayed.
Edit: If your looking to do it how youtube does it create a swf in flash that can read from an xml file (where the xml file takes the videos unique id to query the datbase to retrieve the comments).. the comments would then be displayed on top of the video as labels. Please reference actionscript 2 or 3 depending on what version of flash you're using.
Related
I'm using source code from apple (SquareCam) and I would like to figure out how I can use the photos taken in that app and see them in a library (like the photos app) without having all the other photos the user has taken elsewhere like in the regular camera.
I'm not too great at making apps yet so I'm pretty noobish.
I've gotten as far as opening the photo library but nothing else. no viewing individual photos or the options such as emailing, messaging and what not.
Don't think you can do that. It either all photos or no photos...
You can of course save the photo in your own documents directory and write your own photo viewer - there's quite some code and frameworks around that do most of the job, see e.g. the answers to this so question:
Open source photo viewer for IPhone
I have been trying to embed a list of videos from certain YouTube channel in my table view. I learned how to embed each on manually with a list of urlStrings. Now I would like to upgrade it into a more robust process by retrieving the links from YouTube by itself. The question:
How do I get the url(s) of each videos from the channel using xml?
-I know "https://gdata.youtube.com/feeds/api/channels?q=myChannel" returns something I want, I just dont know how to go from there to a list of these "http://www.youtube.com/embed/FmtA2Tq062o".
Thanks in advance!
I am trying to set up an application in which users will be able to stream music. When the user is streaming a MP3, I'd like to set up a link to the iTunes store to buy the MP3.
How can I do that? I feel like there should be some simple way of doing so using the song title and artist name, am I mistaking?
Thanks
You can experiment with the iTMS Link Maker that Apple provides and see how the links are formed. In addition, here is the iTMS Link Maker FAQ.
See this blog post about how to query the iTMS Link Maker automatically. Basically, you can query the iTMS Link Maker and get an XML document back that your application can process.
The iTunes Store Web Service Search API (pdf), although old and incomplete, documents how to search for content in the iTunes store and returns a JSON string with results.
The iTunes Store Web Service Search API allows you to place search fields in your website to search for
content within the iTunes Store. You can search for a variety of iTunes Store content; including movies,
podcasts, music, music videos, audiobooks, and TV shows. You can also call an ID-based lookup request to
create mappings between your content library and the iTunes Store content library.
Queries are sent to base url:
http://ax.phobos.apple.com.edgesuite.net/WebObjects/MZStoreServices.woa/wa/wsSearch?parameterkeyvalue
Where parameterkeyvalue can be one or more parameter key and value pairs indicating the details of your
query.
Ok, I had this same problem and the answers here did not give me enough info. So I asked this question again with different wording, and continued to search for an answer. I ended up answering my own question in the other question, and have posted the code to do this over there.
You can find the question at:
Opening iTunes Store to specific song
It contains all the code you will need to open the iTunes Store to the specific song specified by song name and song artist.
I hope this helps someone.
Creating a link to the app store could be very problematic. I suggest you use a simple library called iLink that I found when searching for a solution for this exact issue. It would figure out everything and create the link you need that would work always. Another great thing is that it is super easy to use.
I am developing an iPad application using Facebook Query Language. We can get the list of videos of an user along with its meta data by querying the table "video". The meta data of the video are: video id, title, description, src, src_hq etc.
Now, I want to play the Facebook video in my iPad using the URL given in the field src/src_hq.
What is the difference between these two attributes?
Do I get iPad compatible URL for all the videos. i.e. is it possible to play all the videos of Facebook in iPad including old videos uploaded.
If not possible, could you please give the objective-C sample code that embeds the video in HTML.
Regards,
Deepa
I'm pretty sure facebook videos are flv's and you'd need a flash player to play them. So to answer your question:
The src/src_hq fields are described in the documentation. The src_hq one is higher quality, most likely for the full-page type view, while the src one is likely used in streams and so on.
I doubt you will get a URL to a video that will work on the iPad. Probably not for new videos and probably not for 'old' videos either.
With that said -- try it! Query the table, get a video url, download it and see for yourself. Open it up in VLC or some-such and see what kind of video it is and get some details -- then post them here.
I am trying to set up an application in which users will be able to stream music. When the user is streaming a MP3, I'd like to set up a link to the iTunes store to buy the MP3.
How can I do that? I feel like there should be some simple way of doing so using the song title and artist name, am I mistaking?
Thanks
You can experiment with the iTMS Link Maker that Apple provides and see how the links are formed. In addition, here is the iTMS Link Maker FAQ.
See this blog post about how to query the iTMS Link Maker automatically. Basically, you can query the iTMS Link Maker and get an XML document back that your application can process.
The iTunes Store Web Service Search API (pdf), although old and incomplete, documents how to search for content in the iTunes store and returns a JSON string with results.
The iTunes Store Web Service Search API allows you to place search fields in your website to search for
content within the iTunes Store. You can search for a variety of iTunes Store content; including movies,
podcasts, music, music videos, audiobooks, and TV shows. You can also call an ID-based lookup request to
create mappings between your content library and the iTunes Store content library.
Queries are sent to base url:
http://ax.phobos.apple.com.edgesuite.net/WebObjects/MZStoreServices.woa/wa/wsSearch?parameterkeyvalue
Where parameterkeyvalue can be one or more parameter key and value pairs indicating the details of your
query.
Ok, I had this same problem and the answers here did not give me enough info. So I asked this question again with different wording, and continued to search for an answer. I ended up answering my own question in the other question, and have posted the code to do this over there.
You can find the question at:
Opening iTunes Store to specific song
It contains all the code you will need to open the iTunes Store to the specific song specified by song name and song artist.
I hope this helps someone.
Creating a link to the app store could be very problematic. I suggest you use a simple library called iLink that I found when searching for a solution for this exact issue. It would figure out everything and create the link you need that would work always. Another great thing is that it is super easy to use.