{"id":160,"date":"2012-09-03T23:28:49","date_gmt":"2012-09-03T23:28:49","guid":{"rendered":"http:\/\/simplicitywp.olegnax.com\/?page_id=160"},"modified":"2012-09-03T23:28:49","modified_gmt":"2012-09-03T23:28:49","slug":"audio-shortcode","status":"publish","type":"page","link":"https:\/\/www.jaszapatiszatocsbolt.hu\/index.php\/shortcodes\/audio-shortcode\/","title":{"rendered":"AUDIO SHORTCODE"},"content":{"rendered":"<h2>How to add audio<\/h2>\n<p>To add audio player to your page:<br \/>\n1. Click on &#8220;Upload\/Insert&#8221; icon just abow the editor. Add media popup will appear.<br \/>\n2. Upload your audio and click &#8220;Insert into post&#8221;<br \/>\n<\/p>\n<p><img src=\"http:\/\/retro.olegnax.com\/wp-content\/uploads\/2012\/09\/audio.jpg\" alt=\"audio\" class=\"alignnone size-full wp-image-2090 imgborder\" \/><br \/>\n<br \/><BR\/><\/p>\n<h2>EXAMPLES<\/h2>\n            <div id=\"jquery_jplayer_1\" class=\"jp-jplayer\"><\/div>\r\n            <div id=\"jp_container_1\" class=\"jp-audio\">\r\n            <div class=\"jp-type-single\"><div class=\"jp-control\"><a href=\"javascript:;\" class=\"jp-play\" tabindex=\"1\">play<\/a><a href=\"javascript:;\" class=\"jp-pause\" tabindex=\"1\">pause<\/a><\/div> <div class=\"jp-gui jp-interface\"><div class=\"jp-progress\"><div class=\"jp-seek-bar\"><div class=\"jp-play-bar\"><\/div><\/div><\/div><div class=\"jp-volume\"><div class=\"jp-volume-bar\"><div class=\"jp-volume-bar-value\"><\/div><\/div><\/div>\r\n                <\/div>                <div class=\"jp-title\"><strong>Fight For Freedoms (SB) 320kbit<\/strong> -  <span class=\"jp-current-time\"><\/span> \/ <span class=\"jp-duration\"><\/span><\/div>                <div class=\"jp-no-solution\"><span>Update Required<\/span>To play the media you will need to either update your browser to a recent version or update your <a href=\"http:\/\/get.adobe.com\/flashplayer\/\" target=\"_blank\">Flash plugin<\/a>.<\/div><\/div><\/div>\r\n        <script type='text\/javascript'>\r\n            jQuery(document).ready(function() {\r\n                jQuery.jPlayer.timeFormat.showHour = true;\r\n                jQuery(\"#jquery_jplayer_1\").jPlayer({\r\n                    ready: function(event) {\r\n                        jQuery(this).jPlayer(\"setMedia\", {mp3: 'http:\/\/simplicitywp.olegnax.com\/wp-content\/uploads\/2012\/09\/Fight-For-Freedoms-SB-320kbit.mp3'});\r\n                    },\r\n                    play: function() {\r\n                        jQuery(this).jPlayer(\"pauseOthers\",0);\r\n                    },\r\n                    swfPath: THEME_URI+\"\/swf\",\r\n                    solution: \"html, flash\",\r\n                    preload: \"metadata\",\r\n                    wmode: \"window\",\r\n                    supplied: \"mp3\",\r\n                    cssSelectorAncestor: '#jp_container_1'\r\n                });\r\n            });\r\n        <\/script>\n<hr>\n<div class='one_half ' >\n<h4>Player one<\/h4>\n            <div id=\"jquery_jplayer_2\" class=\"jp-jplayer\"><\/div>\r\n            <div id=\"jp_container_2\" class=\"jp-audio\">\r\n            <div class=\"jp-type-single\"><div class=\"jp-control\"><a href=\"javascript:;\" class=\"jp-play\" tabindex=\"1\">play<\/a><a href=\"javascript:;\" class=\"jp-pause\" tabindex=\"1\">pause<\/a><\/div> <div class=\"jp-gui jp-interface\"><div class=\"jp-progress\"><div class=\"jp-seek-bar\"><div class=\"jp-play-bar\"><\/div><\/div><\/div><div class=\"jp-volume\"><div class=\"jp-volume-bar\"><div class=\"jp-volume-bar-value\"><\/div><\/div><\/div>\r\n                <\/div>                <div class=\"jp-title\"><strong>Fight For Freedoms (SB) 320kbit<\/strong> -  <span class=\"jp-current-time\"><\/span> \/ <span class=\"jp-duration\"><\/span><\/div>                <div class=\"jp-no-solution\"><span>Update Required<\/span>To play the media you will need to either update your browser to a recent version or update your <a href=\"http:\/\/get.adobe.com\/flashplayer\/\" target=\"_blank\">Flash plugin<\/a>.<\/div><\/div><\/div>\r\n        <script type='text\/javascript'>\r\n            jQuery(document).ready(function() {\r\n                jQuery.jPlayer.timeFormat.showHour = true;\r\n                jQuery(\"#jquery_jplayer_2\").jPlayer({\r\n                    ready: function(event) {\r\n                        jQuery(this).jPlayer(\"setMedia\", {mp3: 'http:\/\/simplicitywp.olegnax.com\/wp-content\/uploads\/2012\/09\/Fight-For-Freedoms-SB-320kbit.mp3'});\r\n                    },\r\n                    play: function() {\r\n                        jQuery(this).jPlayer(\"pauseOthers\",0);\r\n                    },\r\n                    swfPath: THEME_URI+\"\/swf\",\r\n                    solution: \"html, flash\",\r\n                    preload: \"metadata\",\r\n                    wmode: \"window\",\r\n                    supplied: \"mp3\",\r\n                    cssSelectorAncestor: '#jp_container_2'\r\n                });\r\n            });\r\n        <\/script> <\/div>\n <div class='one_half last' > <\/p>\n<h4>Player two<\/h4>\n            <div id=\"jquery_jplayer_3\" class=\"jp-jplayer\"><\/div>\r\n            <div id=\"jp_container_3\" class=\"jp-audio\">\r\n            <div class=\"jp-type-single\"><div class=\"jp-control\"><a href=\"javascript:;\" class=\"jp-play\" tabindex=\"1\">play<\/a><a href=\"javascript:;\" class=\"jp-pause\" tabindex=\"1\">pause<\/a><\/div> <div class=\"jp-gui jp-interface\"><div class=\"jp-progress\"><div class=\"jp-seek-bar\"><div class=\"jp-play-bar\"><\/div><\/div><\/div><div class=\"jp-volume\"><div class=\"jp-volume-bar\"><div class=\"jp-volume-bar-value\"><\/div><\/div><\/div>\r\n                <\/div>                <div class=\"jp-no-solution\"><span>Update Required<\/span>To play the media you will need to either update your browser to a recent version or update your <a href=\"http:\/\/get.adobe.com\/flashplayer\/\" target=\"_blank\">Flash plugin<\/a>.<\/div><\/div><\/div>\r\n        <script type='text\/javascript'>\r\n            jQuery(document).ready(function() {\r\n                jQuery.jPlayer.timeFormat.showHour = true;\r\n                jQuery(\"#jquery_jplayer_3\").jPlayer({\r\n                    ready: function(event) {\r\n                        jQuery(this).jPlayer(\"setMedia\", {mp3: 'http:\/\/simplicitywp.olegnax.com\/wp-content\/uploads\/2012\/09\/Fight-For-Freedoms-SB-320kbit.mp3'});\r\n                    },\r\n                    play: function() {\r\n                        jQuery(this).jPlayer(\"pauseOthers\",0);\r\n                    },\r\n                    swfPath: THEME_URI+\"\/swf\",\r\n                    solution: \"html, flash\",\r\n                    preload: \"metadata\",\r\n                    wmode: \"window\",\r\n                    supplied: \"mp3\",\r\n                    cssSelectorAncestor: '#jp_container_3'\r\n                });\r\n            });\r\n        <\/script> <\/div> <div class='clearfix'><\/div>\n<h4>Sample Code<\/h4>\n<pre><code>&#091;thaudio href='http:\/\/simplicitywp.olegnax.com\/wp-content\/...\/Fight-For-Freedoms-SB-320kbit.mp3'&#093;Fight For Freedoms (SB) 320kbit&#091;\/thaudio&#093;\n&lt;hr&gt;\n&#091;one_half&#093; &lt;h4&gt;Player one&lt;\/h4&gt;\n&#091;thaudio href='http:\/\/simplicitywp.olegnax.com\/wp-content\/...\/Fight-For-Freedoms-SB-320kbit.mp3'&#093;Fight For Freedoms (SB) 320kbit&#091;\/thaudio&#093; &#091;\/one_half&#093; \n&#091;one_half last=last&#093; &lt;h4&gt;Player two&lt;\/h4&gt;\n&#091;thaudio href='http:\/\/simplicitywp.olegnax.com\/wp-content\/...\/Fight-For-Freedoms-SB-320kbit.mp3' hide_title='true'&#093;Fight For Freedoms (SB) 320kbit&#091;\/thaudio&#093; &#091;\/one_half&#093; &#091;clear&#093;<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>How to add audio To add audio player to your page: 1. Click on &#8220;Upload\/Insert&#8221; icon just abow the editor. Add media popup will appear. 2. Upload your audio and click &#8220;Insert into post&#8221; EXAMPLES Sample Code &#091;thaudio href=&#8217;http:\/\/simplicitywp.olegnax.com\/wp-content\/&#8230;\/Fight-For-Freedoms-SB-320kbit.mp3&#8217;&#093;Fight For Freedoms (SB) 320kbit&#091;\/thaudio&#093; &lt;hr&gt; &#091;one_half&#093; &lt;h4&gt;Player one&lt;\/h4&gt; &#091;thaudio href=&#8217;http:\/\/simplicitywp.olegnax.com\/wp-content\/&#8230;\/Fight-For-Freedoms-SB-320kbit.mp3&#8217;&#093;Fight For Freedoms (SB) 320kbit&#091;\/thaudio&#093; &#091;\/one_half&#093; &#091;one_half&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":94,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"template-leftsidebar.php","meta":[],"_links":{"self":[{"href":"https:\/\/www.jaszapatiszatocsbolt.hu\/index.php\/wp-json\/wp\/v2\/pages\/160"}],"collection":[{"href":"https:\/\/www.jaszapatiszatocsbolt.hu\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.jaszapatiszatocsbolt.hu\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.jaszapatiszatocsbolt.hu\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jaszapatiszatocsbolt.hu\/index.php\/wp-json\/wp\/v2\/comments?post=160"}],"version-history":[{"count":0,"href":"https:\/\/www.jaszapatiszatocsbolt.hu\/index.php\/wp-json\/wp\/v2\/pages\/160\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.jaszapatiszatocsbolt.hu\/index.php\/wp-json\/wp\/v2\/pages\/94"}],"wp:attachment":[{"href":"https:\/\/www.jaszapatiszatocsbolt.hu\/index.php\/wp-json\/wp\/v2\/media?parent=160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}