{"id":167,"date":"2009-07-28T02:27:13","date_gmt":"2009-07-28T02:27:13","guid":{"rendered":"http:\/\/www.playerdiy.com\/blog\/?p=167"},"modified":"2017-05-21T18:40:09","modified_gmt":"2017-05-21T18:40:09","slug":"how-to-use-multiple-playlists-with-one-flv-flash-video-player","status":"publish","type":"post","link":"https:\/\/www.playerdiy.com\/blog\/how-to-use-multiple-playlists-with-one-flv-flash-video-player.html","title":{"rendered":"How to Use Multiple Playlists with One FLV (flash video) Player"},"content":{"rendered":"<div style=\"font: Arial; color=#444;\">\n<p>Some Moyea Web Player users may wonder: Do I have to create flash video players for every webpage to play different videos?<\/p>\n<p>The answer is: Not necessarily! Moyea Web Player offers easier solutions that you only need to create one player, and then embed it onto each webpage to play different videos by linking to different playlist file, or by linking to videos directly. You can also see how to do <A href=\"https:\/\/www.kestumbilt.com\/\">video production<\/a> here.<\/p>\n<p>Only few steps will take you there, let\u2019s have a look:<\/p>\n<p><strong>Step 1<\/strong>: Create a flash video player with <strong><a href=\"http:\/\/www.playerdiy.com\/\" target=\"_blank\">Moyea Web Player<\/a><\/strong> which I have mentioned in my <strong><a href=\"https:\/\/playerdiy.com\/blog\/upload-flash-videos-to-wordpress-blog\/\" target=\"_blank\">previous blog<\/a><\/strong> or you can kindly refer to the <strong><a href=\"http:\/\/www.playerdiy.com\/support\/tutorial\/customize-flash-video-player.html\" target=\"_blank\">detailed tutorial<\/a><\/strong> to learn how.<\/p>\n<p><strong>Step 2<\/strong>: Embed the flash video player onto different webpage to play different videos by linking to different playlist file or linking to videos directly.<\/p>\n<p><strong>Situation A<\/strong>: Link to xml playlist file. The tutorial shows below:<\/p>\n<p>For example: If you want to add the flash video player onto webpage A to play videos in \u201cdemo1.xml\u201d playlist file, the embeded code will show as below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/playerdiy.com\/blog\/wp-content\/uploads\/2009\/07\/multi-playlists-1-500x353.jpg\" alt=\"play videos in \u201cdemo1.xml\u201d playlist file\" title=\"play videos in \u201cdemo1.xml\u201d playlist file\" width=\"500\" height=\"353\" class=\"aligncenter size-medium wp-image-169\" srcset=\"https:\/\/www.playerdiy.com\/blog\/wp-content\/uploads\/2009\/07\/multi-playlists-1-500x353.jpg 500w, https:\/\/www.playerdiy.com\/blog\/wp-content\/uploads\/2009\/07\/multi-playlists-1.jpg 600w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/p>\n<p>By analogy, if you want to add the player on another webpage to play videos in \u201cdemo2.xml\u201d playlist file, the player embed code will show as below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/playerdiy.com\/blog\/wp-content\/uploads\/2009\/07\/multi-playlists-2-500x353.jpg\" alt=\"play videos in \u201cdemo2.xml\u201d playlist file\" title=\"play videos in \u201cdemo2.xml\u201d playlist file\" width=\"500\" height=\"353\" class=\"aligncenter size-medium wp-image-170\" srcset=\"https:\/\/www.playerdiy.com\/blog\/wp-content\/uploads\/2009\/07\/multi-playlists-2-500x353.jpg 500w, https:\/\/www.playerdiy.com\/blog\/wp-content\/uploads\/2009\/07\/multi-playlists-2.jpg 600w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/p>\n<p><strong>Note<\/strong>: the only difference is the xml file name and its path, the others remain the same.<\/p>\n<p><strong>Situation B<\/strong>: Link to videos directly, the tutorial shows below:<\/p>\n<p>The flashvars code syntax for linking multiple videos is <strong>playerOpts=playListPath*^caption^path^image^clickurl^clicktarget^endurl^styleoftarget^endtarget&#8230;&#8230;*s&#8217;<\/strong><\/p>\n<p><strong>Note:<\/strong><br \/>\n1. The &#8220;\u2026&#8221; part means the front code can be duplicated<br \/>\n2. The values of caption (video name), image, clickurl, clicktarget, endurl, styleoftarget and endtarget can be \u201cnull\u201d but can\u2019t be \u201cnone\u201d<\/p>\n<p>For example: If you want to play video1.flv and video2.flv with the player, then the code will show as below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/playerdiy.com\/blog\/wp-content\/uploads\/2009\/07\/multi-playlists-3-500x353.jpg\" alt=\"play video1.flv and video2.flv directly\" title=\"play video1.flv and video2.flv directly\" width=\"500\" height=\"353\" class=\"aligncenter size-medium wp-image-171\" srcset=\"https:\/\/www.playerdiy.com\/blog\/wp-content\/uploads\/2009\/07\/multi-playlists-3-500x353.jpg 500w, https:\/\/www.playerdiy.com\/blog\/wp-content\/uploads\/2009\/07\/multi-playlists-3.jpg 600w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/p>\n<p><strong>Note<\/strong>: You can use relative paths or absolute paths to link the videos<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Some Moyea Web Player users may wonder: Do I have to create flash video players for every webpage to play different videos? The answer is: Not necessarily! Moyea Web Player offers easier solutions that you only need to create one &hellip;<\/p>\n<p class=\"read-more\"><a href=\"https:\/\/www.playerdiy.com\/blog\/how-to-use-multiple-playlists-with-one-flv-flash-video-player.html\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[4],"tags":[8,50,12,16,51,9],"class_list":["post-167","post","type-post","status-publish","format-standard","hentry","category-tutorial-customizing-flash-video-player","tag-flash-video-player","tag-flv-player","tag-moyea-web-player","tag-moyea-webplayer","tag-multiple-playlists-with-one-flash-video-player","tag-web-flash-player"],"_links":{"self":[{"href":"https:\/\/www.playerdiy.com\/blog\/wp-json\/wp\/v2\/posts\/167","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.playerdiy.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.playerdiy.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.playerdiy.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.playerdiy.com\/blog\/wp-json\/wp\/v2\/comments?post=167"}],"version-history":[{"count":5,"href":"https:\/\/www.playerdiy.com\/blog\/wp-json\/wp\/v2\/posts\/167\/revisions"}],"predecessor-version":[{"id":448,"href":"https:\/\/www.playerdiy.com\/blog\/wp-json\/wp\/v2\/posts\/167\/revisions\/448"}],"wp:attachment":[{"href":"https:\/\/www.playerdiy.com\/blog\/wp-json\/wp\/v2\/media?parent=167"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.playerdiy.com\/blog\/wp-json\/wp\/v2\/categories?post=167"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.playerdiy.com\/blog\/wp-json\/wp\/v2\/tags?post=167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}