playlist

Reordering Lists like playlists in the media player

ⅰ亾dé卋堺 提交于 2019-12-04 22:59:09
问题 I have a list of items that are displayed using a ListView from a SQLCursor. The SQL table includes(as well as other things) a _id field and an order field. I use the order field to sort the list before it gets to the ListView. What I need is a widget like the MediaPlayer has in its playlist view. It allows you to click the icon and drag the item in the playlist around and put it into a new order. With that ability I can then retrieve the new order and update the SQL table with the new order.

How do I insert an m3u playlist on a html page?

末鹿安然 提交于 2019-12-04 22:44:55
I want to play a m3u file songs in a player I am using the following player, but it's not playing: <OBJECT ID="MediaPlayer1" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab# Version=5,1,52,701" STANDBY="Loading Microsoft Windows® Media Player components..." TYPE="application/x-oleobject" width="280" height="46"> <param name="fileName" value="songs/songs/1990/1990/enthiran/test1.m3u"> <param name="animationatStart" value="true"> <param name="transparentatStart" value="true"> <param name="autoStart" value="true"

HTML5 audio player with sub-menus

…衆ロ難τιáo~ 提交于 2019-12-04 20:01:36
I have the following script to play audio files sequence from the selection in menu 1 to the selection in menu 2. It looks like this (a list of Numbers, another for Letters): What I need to do is add two other selection menus, before the action of playing the files, so the selection could be from any menu (even the same one), or other menus (to look like this): So the menu beside the first Select I can choose numbers or letters , and when choosing one them the sub-categories menu beside it changes to show either the selection from 0-5 (if selected numbers ), or from A-C (if the letters is

Embed youtube playlist with side list tray

拥有回忆 提交于 2019-12-04 18:29:33
问题 I've been playing with the youtube embed playlist functionality with javascript. So far when I embed a playlist it looks like this: http://postimage.org/image/vk6fv56yx/ The blue circle shows the number of items in the playlist and when clicked the thumbnails show. when the video starts playing is necesary to click the playlist button for the list to show, like this: http://postimage.org/image/ezzxpy7pn/ But I want the player to show like it shows on the youtube page, like this: http:/

How can I search inside a youtube playlist?

北战南征 提交于 2019-12-04 11:31:52
问题 I need to know if youtube API V3 supports searching inside a specific youtube playlist? And is there any other way to do that? 回答1: For doing full-text search in closed captions (CC) in a Youtube channel you may download all the subtitles from the channel and do local text search in it: $ youtube-dl --write-auto-sub --skip-download "https://www.youtube.com/channel/UC6oh54zIYKyW6hgBiZzLLsA" that will download about 160 .vtt text files $ grep -i -C 2 'autumn' *.vtt Note: Option --write-auto-sub

Listen for my Flash event in Javascript

ⅰ亾dé卋堺 提交于 2019-12-04 04:22:37
问题 I'm trying to build a basic video player with a playlist using the OVP Player. So far I have figured out how to feed in the new video source using ExternalInterface, but I can not figure out how to listen for the Flash event "EVENT_END_OF_ITEM". How do I listen for Flash events in Javascript (and thus jQuery)? OVP has a lot of events defined, but I don't know how to listen for them. For example, here is the EVENT_END_OF_ITEM: public function endOfItem():void { sendEvent(EVENT_END_OF_ITEM); }

Spotify App API - Playlist Subscribe

久未见 提交于 2019-12-03 22:30:27
Looking at the APP API, it seems like you can determine whether or not a user is subscribed to a playlist or not. However, my app requires the user to be able to subscribe or un-subscribe from a playlist. Is this possible using the Javascript App API at all? For the currently logged in user you can subscribe and unsubscribe from a playlist by setting the playlist's subscribed property. var m = sp.require('sp://import/scripts/api/models') var playlist = m.Playlist.fromURI('spotify:user:<otherUser>:playlist:<playlist>') playlist.subscribed > false playlist.subscribed = true playlist.subscribed >

How can you create an auto playlist with the HTML5 Audio tag?

∥☆過路亽.° 提交于 2019-12-03 21:31:01
How can you create an auto playlist with the audio tag from HTML5? What I'm trying to achieve is a player with only the play/pause button big 30x25 px, the player autoplays when the page loads and when the song ends it'll play the next song automatically. Trying to have 3-4 songs in a playlist. shanabus Check out this post: using jquery + <audio> w/ php/mysql to loop playback times var sfx = new Audio('sfx.wav'); var sounds = a.addTextTrack('metadata'); // add sounds we care about sounds.addCue(new TextTrackCue('dog bark', 12.783, 13.612, '', '', '', true)); sounds.addCue(new TextTrackCue(

How can i get HTML5 audio playlist with mediaelement.js ?

时光总嘲笑我的痴心妄想 提交于 2019-12-03 15:58:09
I tried to search the example of audio playlist in mediaelement.js. But i found none, is mediaelement.js supports audio playlist? If so, please kindly support me the sample code or links. Thank you very much. Allan I managed to get a super basic (read: hacky) demo of a playlist working in a WordPress theme I’ve got going. All you have to do is setup multiple media elements using a set of IDs, a class or in this case the <audio> tag. Then you can use JS to see when a player has ended (stopped playing music) and run some basic conditionals to see which player is playing, what player should play

Reordering Lists like playlists in the media player

只谈情不闲聊 提交于 2019-12-03 15:03:05
I have a list of items that are displayed using a ListView from a SQLCursor. The SQL table includes(as well as other things) a _id field and an order field. I use the order field to sort the list before it gets to the ListView. What I need is a widget like the MediaPlayer has in its playlist view. It allows you to click the icon and drag the item in the playlist around and put it into a new order. With that ability I can then retrieve the new order and update the SQL table with the new order. However, I am not having any luck finding any clues to help me add that functionality into my program.