ClassCreator.com | Blockbuster sites, amazing reunions

Share Tips

New Topic Subscription Options  

Need Simple instructions to play MP3's

Forums: Questions and Answers About Building Your Site
Created on: 02/17/21 05:12 PM Views: 280 Replies: 20
Wednesday, February 17, 2021 at 5:12 PM

I need simple instructions to be able to play my MP3's from the Playlist Generator. They worked at one time but not since Flash is gone. I've read other posts about JVideoplayer but it's over my head. Someone said to use UTube........but how? HELP !!!

Reply
Thursday, February 18, 2021 at 11:29 PM - Response #1

Beverly,

I see there have been no responses to your question so I'll take a stab at it. It's hard to get any easier than Jack's JVideoplayer.

Simple instructions to using his player.
1 go to his player creator site (Click Here)
2 open a different window on your browser, go to YouTube and find the video/music that you want on your site and copy the URL. To copy the URL, click in that field, it should all highlight immediately (if it doesn't, click Control A to select ALL, then Control C to copy it).
3 go back to the JVideo page and paste the URL in his "ADD URL blank" and hit the "Add URL" button. This will insert your chosen video in his player.
4 if you want to add more music, hit "Clear URL" and enter the next music URL. Repeat for all music/videos that you want to add
5 when you're finished, hit the "CREATE" button and the whole thing will be created and automatically highlighted so that all you need to do is copy it.
6 place your cursor over the highlighted section and hit Control C to copy it. (Hold down the Control Key and hit the "c" key.)
7 go to the page where you want the player and change to "Source" (upper left corner of the editing screen).
8 hit paste (Control V) to paste the code to your page
9 save the page and you're done.

If you want to put the player at a certain spot in an existing page, an easy way to locate the spot is to enter some text to mark the beginning of the place, hit enter, then more text to denote the end of the location. For example, I enter AAAA, then hit the enter key, then BBBB. When I switch to the SOURCE, I look for the AAAA and move to the blank line immediately following and hit Control V to paste the code at that point. Then I switch back to normal text (rather than Source) and delete only the AAAA and BBBB.

It's actually easier than it sounds and as far as I am aware, any other ways to accomplish this are significantly more difficult.

If you're still worried about trying this, create a new page to experiment on. It should work just fine, but if it doesn't, all you need to do is delete the page and no harm done.

Good luck with your site.

Reply
Friday, February 19, 2021 at 1:47 AM - Response #2

Thank you for the response. I will check it out. Appreciate your help.

Reply
Wednesday, March 10, 2021 at 9:26 PM - Response #3

Oh my Gary......thank you so very much. I looked at the earlier info on Jack's Video player, but like Beverley, it is over my head. Your breaking it down is just what I needed. I have printed it and will tackle tomorrow. It looks very clear as what to do.

Thank you Gary. I have a lot of music on my website and put a lot of time into making them all MP3's years ago, so I am thrilled that we can have music again.

Blessings for a great year.
Tracey

Reply
Thursday, March 11, 2021 at 2:30 AM - Response #4

Thanks Gary for the steps. I could copy that and add another section. The tab labeled "Instructions" gives an overview. The easiest way might be to make a basic section and then just add the MP3 links.

This is the basic code for MP3 links (you can mix Youtube video and MP3). Add links as shown. All links except the last have a comma at the end. The text after the link is the description. The generator does all that automatically. I left all the options off to show the default view. You can change the color, font size, etc. Samples in docs show the variations. Most people pick the default style.

I noticed a small mistake I made if you only have MP3. It doesn't show the top image until you click. The original code was using Youtube videos for music as this example shows


Just copy and psste the code above into a test page in Editor SOURCE mode to see this example. Then play with adding your own links.

Reply
Edited 03/11/21 2:34 AM
Thursday, March 11, 2021 at 3:54 PM - Response #5

I'm glad you all found it useful! As Jack mentioned, the KEY to making this work is to have a comma at the end of every line EXCEPT the last line. The very last video Does Not have a comma.

If you've modified your play list and it does not work, more than likely you have a missing comma. Check this first. You may have also have missed the double quote symbol at the first or last of the line, but I've found the comma is the most likely suspect.

This should get everyone started, but Jack has a lot of bells and whistles you may not immediately notice.

One is the ability to play only a selected portion of a video. Let's say you want to play ONLY a Segment of the video, add brackets inside the Quote marks on the video and put the number of seconds to skip as the first number, a comma, then the ending number of seconds as the second number or Zero if you want it to play to the end. Skip the first 6 seconds and play to the end, insert [6,0] anywhere in the line AFTER the play code.

For example, let's say the music in a video doesn't start until 6 seconds after the video starts and you want to play until 3:28 seconds, your line for that music video would look like this:
"NYmn2aS9KWU [6,208] The 5th Dimension - Sweet Blindness", or
"NYmn2aS9KWU The 5th Dimension - Sweet Blindness [6,208]",

Now you will probably notice that we want the video to play until 3 minutes and 28 seconds, but we have listed 208 as the stopping point. That is because 3:28 IS 208 seconds.

3 minutes X 60 seconds (in a minute) = 180 seconds, plus the additional 28 seconds. 180+28=208.

Check it out by creating a playlist and manually place this line in the code. Try it first without the [6,208]. You'll see the opening announcement and the ending credits, and as much as I appreciate Laura Nyro writing the tune, I don't always want to read about it while I'm waiting for the next song.

Try it again with [6,208] and you'll skip all that.

I'd tell you to create a playlist with both listed, say without the brackets as song #1 and with the brackets as song #2, but for some strange reason, if the same YouTube code appears on consecutive lines, the player skips the second one, or jumps to the previous listing if they are separated by other lines, say the same song code appears on line 7, and also on line 123, when the player hits line 123, it automatically skips back to line 7 and continues to play from there, lines 8, 9, 10, etc. until it hits 123 again.

Jack, have you ever noticed this? I just did for the first time yesterday. I don't know if it's always been this way or not? It would be nice to be able to have the same song appear in several different locations, (realizing I could (usually) find the same song with a different code.)

What do you think? Any way to prevent the skip backs?


OK, talk about a run on post. My apologies, but some might find this helpful.


YouTube video codes. Here is an example of the full URL
https://www.youtube.com/watch?v=Oy625sZAHN8

YouTube code consists of the 11 digits AFTER the = symbol and before anything that might follow, as it does in a YouTube compilation (group of songs).

For example: https://www.youtube.com/watch?v=SbyAZQ45uww&list=PLs5nLtKbGBVOZBCzgXxcN9fyCz6sQ1fab

The first video is the part after the equals sign and Before the Ampersand "&".

If you want to create a playlist using every song that comes up in the compilation above, copy the entire URL line into Jack's player. If you only want the first song, copy only the first video code portion, that is the part after the = sign and before the & ampersand sign.

On occasion, when you copy the Compilation URL into Jack's Player (JVideoPlayer) may say "could not "start". If this happens, delete everything after the first code and try again.

How do you get the next song in that same playlist? Simply skip to the next song in the list, (you do still have that playlist open in another window, don't you?) the URL will change.

Copy the new URL into Jack's player creator and try again. It may not "start", but usually, after advancing 3 or 4 more videos and trying it again, usually it will "start" and take off and place all the remaining videos in your new playlist.

I'm sure most of you all know that to copy a YouTube URL, you click on the URL line and everything is normally highlighted so you can do Control C to copy it. If the entire line is not highlighted, run your cursor over it to highlight it.


Control Codes: Hold down the Control key, hit the C key, then let go of the Control key) and the URL will be copied into your computer's memory. Move to where you want to paste it, and hit Control V to paste.

Control A highlights ALL.
Control C will Copy.
Control X will copy and delete whatever is highlighted, but you can still Control V to paste it somewhere else.
Control Z will undo what you just did
Control Y will re-do it
Control W will close the window you are in

But, did you know that on a YouTube URL line, you can double click quickly and it will normally highlight just the "Music Code" portion of the entire URL line? I just discovered this a few minutes ago. I love new tricks, well, new to me.

Reply
Thursday, March 11, 2021 at 11:22 PM - Response #6


Quote:

I don't know if it's always been this way or not? It would be nice to be able to have the same song appear in several different locations, (realizing I could (usually) find the same song with a different code.)

It used to work 5 years ago Shocked MP3 addition probably changed something in search system.

This is original Discussion about duplicates back then.

Looking at it now and saw a few things I need to make it do duplicates again by adding a suffix to Youtube IDs. Will update here when it's working again.

Reply
Friday, March 12, 2021 at 1:28 AM - Response #7

WOW,we sure covered some ground back then! I'll keep an eye out. Thanks!

Reply
Friday, March 12, 2021 at 12:59 PM - Response #8

Should work as described in original topic. Add a unique suffix to duplicate Youtube ID(s). Haven't extensively tested to make sure I didn't break something - but my main test page with variations appear to work.

Reply
Saturday, March 13, 2021 at 3:22 AM - Response #9

Jack, I tried with the same song duplicated 5 times with the suffixes 1-5 added on at the end of the 11 digit code. I assume this is what you mean by adding a suffix.

I could play each by clicking on it, but when it finished, it would jump back to #1. Clicking to advance did not advance unless I clicked fast, then I could advance to any line that I wanted, but when it finished playing, it would always jump back to #1. This is using Pale Moon 29.1.0 (most current). Tried on Chrome, Firefox and Opera with the same results.

Obviously no in depth testing, just FYI observations so far.

Reply
Edited 03/13/21 4:01 AM
Saturday, March 13, 2021 at 7:43 PM - Response #10

I didn't see that, but it is jumping an extra step. It's like the video ending code sent by Youtube is not the same as ending status for a regular video. Might have changed over time.

Can you post using the "code" tool here what Videos you are viewing and the time.

Reply
Wednesday, March 17, 2021 at 10:53 PM - Response #11

Needs some volunteers testing help.

I tested on all main browsers - Edge, Chrome, Firefox Opera. Need someone to test on Safari and iPhone since old Safari is all I have and that must not support a new loading sequence/code I'm using. Might have to go back to old - Twisted Evil

Not released yet, but this is a TEST version, don't use permanently since it's just there for testing.

See if these links work on your devices

List of MP3 and YouTube music videos

MP3 and Videos

List of DUPLICATE videos with time selections - [start,end]

NOTE ** these are test pages only thus vary over time **

Reply
Edited 03/19/21 4:59 PM
Thursday, March 18, 2021 at 12:13 AM - Response #12

Jack, I tested on iPhone and it worked fine. Good on iPad also. Both with Safari.

Reply
Edited 03/18/21 12:16 AM
Thursday, March 18, 2021 at 12:23 AM - Response #13

That's a relief. Thank you Phil.

(probably old Safari does not support some fairly common Javascript loading stuff - window.onload specifically. I used a timed loop before.)

Reply
Thursday, March 18, 2021 at 1:23 AM - Response #14

Jack Vermeulen wrote:

Can you post using the "code" tool here what Videos you are viewing and the time.

Seems to be any video that is duplicated. Click Here for an Example #2 and #9 are identical. Click on #9 and it will default to play #2.

I also looked at using the brackets to start and stop at locations rather than start and finish. That doesn't appear to affect it. They all default to the first appearance.

Take a look at 2 & 9; 13 & 19; and 23 & 28.

Got the same results with Pale Moon, Chrome, Opera and Firefox.

Tested 3/18/2021 at around 12:20 am CDT

EDIT 12:55 am CDT
Oops, just checked out your duplicates link and see you've already fixed this in the test version.

Reply
Edited 03/18/21 1:57 AM
Thursday, March 18, 2021 at 12:53 PM - Response #15

The current list does not have suffix added to make them unique. Maybe you were experimenting?

Reply
Thursday, March 18, 2021 at 3:44 PM - Response #16

Revised Version now active. Docs updated with new options

Click Documentation in this LINK for JVideoplayer

Reply
Friday, March 19, 2021 at 2:37 PM - Response #17

Jack Vermeulen wrote:

Maybe you were experimenting?
Exactly. And after I'd finished experimenting and had posted, THEN I saw that you'd already corrected the code.

Moving on, I tried adding a suffix to the YouTube Video Code within your player and it worked well. I may have missed the addition to your instructions. If I missed it, my apologies. If not, I humbly present one possible description.

"If your playlist has a duplicated code, it may cause the player to loop repeatedly between the duplicates. JVideoGenerator looks for and deletes duplicates, however they may be created later if you add code to your playlist.

If you want the same video/code to play more than once, add a suffix to the code. For example KbJOsej3ZK0 may become KbJOsej3ZK0-1, KbJOsej3ZK01 or KbJOsej3ZK0A, etc."

Reply
Friday, March 19, 2021 at 5:06 PM - Response #18

Thanks, I'll add that and hope it's read Cool

Reply
Friday, March 19, 2021 at 11:14 PM - Response #19

You know we only read instructions as a last result. LOL

Reply
Wednesday, March 24, 2021 at 9:59 PM - Response #20

Good point about adding a dash with the suffix for easy identification!

Reply
New Topic  
Subscription Options: Have all new forum posts sent directly to your email.
Subscription options are available after you log in.