{"id":2606,"date":"2019-11-23T07:21:20","date_gmt":"2019-11-23T07:21:20","guid":{"rendered":"https:\/\/ayenehmedia.org\/%d9%be%d8%ae%d8%b4-%d8%b2%d9%86%d8%af%d9%87-%d8%aa%d9%84%d9%88%db%8c%d8%b2%db%8c%d9%88%d9%86\/"},"modified":"2019-11-23T07:23:06","modified_gmt":"2019-11-23T07:23:06","slug":"%d9%be%d8%ae%d8%b4-%d8%b2%d9%86%d8%af%d9%87-%d8%aa%d9%84%d9%88%db%8c%d8%b2%db%8c%d9%88%d9%86","status":"publish","type":"page","link":"https:\/\/ayenehmedia.org\/fa\/%d9%be%d8%ae%d8%b4-%d8%b2%d9%86%d8%af%d9%87-%d8%aa%d9%84%d9%88%db%8c%d8%b2%db%8c%d9%88%d9%86\/","title":{"rendered":"\u067e\u062e\u0634 \u0632\u0646\u062f\u0647 \u062a\u0644\u0648\u06cc\u0632\u06cc\u0648\u0646"},"content":{"rendered":"<div class=\"vce-row-container\"><div class=\"vce-row vce-row--col-gap-30 vce-row-columns--top vce-row-content--top\" id=\"el-dae3711f\" data-vce-do-apply=\"all el-dae3711f\"><div class=\"vce-row-content\" data-vce-element-content=\"true\"><div class=\"vce-col vce-col--md-auto vce-col--xs-1 vce-col--xs-last vce-col--xs-first vce-col--sm-last vce-col--sm-first vce-col--md-last vce-col--lg-last vce-col--xl-last vce-col--md-first vce-col--lg-first vce-col--xl-first\" id=\"el-32b32848\"><div class=\"vce-col-inner\" data-vce-do-apply=\"border margin background  el-32b32848\"><div class=\"vce-col-content\" data-vce-element-content=\"true\" data-vce-do-apply=\"padding el-32b32848\"><div class=\"vce-raw-html\"><div class=\"vce-raw-html-wrapper\" id=\"el-61334dbf\" data-vce-do-apply=\"all el-61334dbf\">\n\n\n\n    \n        <link rel=\"stylesheet\" type=\"text\/css\" href=\"https:\/\/cdn.jsdelivr.net\/npm\/mediaelement@4.2.7\/build\/mediaelementplayer.min.css\">\n        <script src=\"https:\/\/cdn.jsdelivr.net\/npm\/mediaelement@4.2.7\/build\/mediaelement-and-player.min.js\"><\/script>\n    \n    \n\n        <!-- player demos -->\n        <section class=\"players\">\n            <div class=\"container\">\n                <div class=\"media-container\">\n                    <div class=\"player\">\n                        <video id=\"player1\" width=\"640\" height=\"360\" preload=\"none\" style=\"max-width: 100%\" controls=\"\" autoplay=\"\" poster=\"\" playsinline=\"\" webkit-playsinline=\"\">\n                            <source src=\"https:\/\/2nbyjjx7y53k-hls-live.5centscdn.com\/cls040318\/b0d2763968fd0bdd2dc0d44ba2abf9ce.sdp\/mono.m3u8\" type=\"application\/x-mpegURL\">\n                        <\/video>\n                    <\/div>\n                <\/div>\n                \n            <\/div>\n\n        <\/section><!-- \/.players -->\n\n\n\n        <script>\n\n            var\n                sourcesSelector = document.body.querySelectorAll('select'),\n\t\t        sourcesTotal = sourcesSelector.length\n            ;\n\n            for (var i = 0; i < sourcesTotal; i++) {\n                sourcesSelector[i].addEventListener('change', function (e) {\n                    var\n                        media = e.target.closest('.media-container').querySelector('.mejs__container').id,\n                        player = mejs.players[media]\n                    ;\n\n                    player.setSrc(e.target.value.replace('&amp;', '&'));\n                    player.setPoster('');\n                    player.load();\ndebugger;\n                });\n\n                \/\/ These media types cannot play at all on iOS, so disabling them\n                if (mejs.Features.isiOS) {\n\t\t\t        if (sourcesSelector[i].querySelector('option[value^=\"rtmp\"]')) {\n                        sourcesSelector[i].querySelector('option[value^=\"rtmp\"]').disabled = true;\n                    }\n                    if (sourcesSelector[i].querySelector('option[value$=\"webm\"]')) {\n                        sourcesSelector[i].querySelector('option[value$=\"webm\"]').disabled = true;\n                    }\n                    if (sourcesSelector[i].querySelector('option[value$=\".mpd\"]')) {\n                        sourcesSelector[i].querySelector('option[value$=\".mpd\"]').disabled = true;\n                    }\n\t\t\t        if (sourcesSelector[i].querySelector('option[value$=\".ogg\"]')) {\n                        sourcesSelector[i].querySelector('option[value$=\".ogg\"]').disabled = true;\n                    }\n\t\t\t        if (sourcesSelector[i].querySelector('option[value$=\".flv\"]')) {\n                        sourcesSelector[i].querySelector('option[value*=\".flv\"]').disabled = true;\n        \t\t    }\n                }\n            }\n\n            document.addEventListener('DOMContentLoaded', function() {\n                var mediaElements = document.querySelectorAll('video, audio'), total = mediaElements.length;\n\n                for (var i = 0; i < total; i++) {\n                    new MediaElementPlayer(mediaElements[i], {\n                        pluginPath: 'https:\/\/cdn.jsdelivr.net\/npm\/mediaelement@4.2.7\/build\/',\n                        shimScriptAccess: 'always',\n                        success: function () {\n                            var target = document.body.querySelectorAll('.player'), targetTotal = target.length;\n                            for (var j = 0; j < targetTotal; j++) {\n                                target[j].style.visibility = 'visible';\n                            }\n\t\t\t            }\n\t\t            });\n                }\n            });\n        <\/script>\n    \n\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2606","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ayenehmedia.org\/fa\/wp-json\/wp\/v2\/pages\/2606","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ayenehmedia.org\/fa\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ayenehmedia.org\/fa\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ayenehmedia.org\/fa\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ayenehmedia.org\/fa\/wp-json\/wp\/v2\/comments?post=2606"}],"version-history":[{"count":1,"href":"https:\/\/ayenehmedia.org\/fa\/wp-json\/wp\/v2\/pages\/2606\/revisions"}],"predecessor-version":[{"id":2607,"href":"https:\/\/ayenehmedia.org\/fa\/wp-json\/wp\/v2\/pages\/2606\/revisions\/2607"}],"wp:attachment":[{"href":"https:\/\/ayenehmedia.org\/fa\/wp-json\/wp\/v2\/media?parent=2606"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}