Cara Pasang RCTI MOBILE TV


BLOG MOBILE.


RCTI MOBILE merupakan perangkat pedamping untuk berinteraksi sosial pemirsa RCTI dan mendafatkan informasi dan konten eksklusif RCTI.
Begitulah deskripsi dari RCTI mobile.
Jadi intinya website di website RCTI mobile kita dafat mendafatkan informasi yang sangat eksklusif seprti berita infotaiment dan juga kita bisa live streaming yang tentunya dengan canals RCTI { Raja Wali Citra Indonesia }
Di RCTI juga kita bisa Ikuti activity seperti melakukan komentar dari tayangan RCTI.
Dan juga dj website RCTI kita bisa mengikuti kuis yang di sedikan oleh pihak RCTI . Anda juga bisa mengikuti program activity dengan mengmpulkan point.

Mungkin sedikit Mengerti ya tentang Kegunaan dan pasilitas yang ada di website RCTI MOBILE. Nah kali ini saya mau mencoba memasang Television online dari RCTI MOBILE ke blog AMP HTML.

Sebenarnya kita cukup menggukan iframe saja dari URL dari RCTI Mobile bertikut ini URL nya http://rctimobile.com/m/play.php?id=1&tm=5

Tetapi saya coba tidak jalan mungkin mungkin itu berupa file PHP . setelah itu saya coba parse URL RCTI mobile tapi tetap saja gak bisa hehe.

Nah saya punya ide liat view source dari alamat URL itu lalu saya hosting Code dari hasill view source di URL itu dan dan coba iframe dan hasilnya  berhasil hehe 
Saya coba juga di berbagai browser dan hasilnya bagus sangat plexsible.
Jika anda ingin mencoba memasang  tv online RCTI.
Berikut ini langkah langkah nya 

  1. Silahkan anda hosting file ini di github.
  2. 
    
    <script type="text/javascript">
    var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-58537712-1']); _gaq.push(['_trackPageview']);
    (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();
    </script><!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>BLOG Mobile</title><link rel="icon" type="image/png" href="http://cdn.rctimobile.com/general/rcti/favicon.png"><link rel="apple-touch-icon" href="http://cdn.rctimobile.com/general/rcti/apple-touch-icon.png"><link rel="apple-touch-icon-precomposed" href="http://cdn.rctimobile.com/general/rcti/apple-touch-icon-precomposed.png" /><meta property="og:image" content="http://cdn.rctimobile.com/general/rcti/favicon.png" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><meta name="description" content="RCTI Mobile adalah perangkat pendamping RCTI untuk berinteraksi sosial pemirsa RCTI dan untuk mendapatkan informasi serta konten eksklusif RCTI" /> <meta http-equiv="Copyright" content="rctimobile" /> <meta name="author" content="RCTI" /> <meta http-equiv="imagetoolbar" content="no" /> <meta name="webcrawlers" content="all" /> <meta name="rating" content="general" /> <meta name="spiders" content="all" /> <meta name="robots" content="all" /> <meta name="keywords" content="RCTI Mobile, RCTIMOBILE, RCTI, Rajawali, Citra, Televisi, Indonesia, TV, Entertainment, Live Streaming, gossip, video" /><meta name="viewport" content="user-scalable=no, width=device-width, height=device-height, initial-scale=1.0">
    <script type="text/javascript" language="javascript" src="http://cdn.rctimobile.com/lib/jquery.js"></script> <script type="text/javascript" language="javascript" src="http://cdn.rctimobile.com/lib/jquery.form.js"></script> <script src="http://cdn.rctimobile.com/lib/jquery.lazyloadxt.js" type="text/javascript"></script>
    
    <!-- Start Alexa Certify Javascript --><script type="text/javascript">_atrk_opts = { atrk_acct:"gvIUk1ao6C527i", domain:"rctimobile.com",dynamic: true};(function() { var as = document.createElement('script'); as.type = 'text/javascript'; as.async = true; as.src = "https://d31qbv1cthcecs.cloudfront.net/atrk.js"; var s = document.getElementsByTagName('script')[0];s.parentNode.insertBefore(as, s); })();</script><noscript><img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=gvIUk1ao6C527i" style="display:none" height="1" width="1" alt="" /></noscript><!-- End Alexa Certify Javascript --> 
    <script>			typemenu= 5;					$(document).ready(function() {				if(typemenu==2)				{					$("#menu1").addClass("linkmenu2");					$("#menu2").addClass("linkmenu1");										$("#menu1").removeClass("linkmenu1");					$("#menu3").removeClass("linkmenu1");					$("#menu4").removeClass("linkmenu1");					$("#menu5").removeClass("linkmenu1");					$("#menu6").removeClass("linkmenu1");					$("#menu7").removeClass("linkmenu1");									} 
    				if(typemenu==3)				{					$("#menu1").addClass("linkmenu2");					$("#menu3").addClass("linkmenu1");										$("#menu1").removeClass("linkmenu1");					$("#menu2").removeClass("linkmenu1");					$("#menu4").removeClass("linkmenu1");					$("#menu5").removeClass("linkmenu1");					$("#menu6").removeClass("linkmenu1");					$("#menu7").removeClass("linkmenu1");									} 
    				if(typemenu==4)				{					$("#menu1").addClass("linkmenu2");					$("#menu4").addClass("linkmenu1");										$("#menu1").removeClass("linkmenu1");					$("#menu2").removeClass("linkmenu1");					$("#menu3").removeClass("linkmenu1");					$("#menu5").removeClass("linkmenu1");					$("#menu6").removeClass("linkmenu1");					$("#menu7").removeClass("linkmenu1");									} 
    				if(typemenu==5)				{					$("#menu1").addClass("linkmenu2");					$("#menu5").addClass("linkmenu1");										$("#menu1").removeClass("linkmenu1");					$("#menu2").removeClass("linkmenu1");					$("#menu3").removeClass("linkmenu1");					$("#menu4").removeClass("linkmenu1");					$("#menu6").removeClass("linkmenu1");					$("#menu7").removeClass("linkmenu1");									} 
    				if(typemenu==6)				{					$("#menu1").addClass("linkmenu2");					$("#menu6").addClass("linkmenu1");										$("#menu1").removeClass("linkmenu1");					$("#menu2").removeClass("linkmenu1");					$("#menu3").removeClass("linkmenu1");					$("#menu4").removeClass("linkmenu1");					$("#menu5").removeClass("linkmenu1");					$("#menu7").removeClass("linkmenu1");									} 
    				if(typemenu==7)				{					$("#menu1").addClass("linkmenu2");					$("#menu7").addClass("linkmenu1");										$("#menu1").removeClass("linkmenu1");					$("#menu2").removeClass("linkmenu1");					$("#menu3").removeClass("linkmenu1");					$("#menu4").removeClass("linkmenu1");					$("#menu5").removeClass("linkmenu1");					$("#menu6").removeClass("linkmenu1");									}			});						</script>						<script>		function getLiveRealTime(timestamp)		{			path="L2V0Yy9uZ2lueC93d3cvZGV2LXJjdGkvcHVibGljX2h0bWwvbW5jbW9iaWxlL20vZGJmaWxlL3JjdGkvZ2V0dHJpdmlhcnQvMC50eHQ=";			il=0;			aid=0;						var queryString = {timestamp: timestamp, path: path, aid:aid};				 $.ajax(		 {		 type: 'GET',		 url: 'p_live.php',		 data: queryString,		 success: function(data){		 // put result data into "obj"		 var obj = jQuery.parseJSON(data);		 // put the data_from_file into #response		 //console.log (obj.timestamp);		 if(il==1)		 {		 	$('#RealTimeLive').html(obj.data_from_file);		 			 
    			 //$('#result').html(data);			 // call the function again, this time with the timestamp we just got from server.php			 //alert(obj.data_from_file);			 getLiveRealTime(obj.timestamp);		 }		 		 },			 error: function (textStatus, errorThrown) {			 //$('#result').html("Error getting the data");			 //alert("error");			 if(il==1)		 {			 	getLiveRealTime(timestamp);		 }			 }		 }		 );		}
    		var createCookie = function(name, value, days) {		 var expires;		 if (days) {		 var date = new Date();		 date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));		 expires = "; expires=" + date.toGMTString();		 }		 else {		 expires = "";		 }		 document.cookie = name + "=" + value + expires + "; path=/";		}
    		function killlive()		{			createCookie('il',2,365);			createCookie('last_change_in_data_file',0,365);		}
    		function unloadPage()		{	 return "dont leave me this way";	 }
    	 						</script>
    <div align="center" id="RealTimeLive">									</div>
    <script type="text/javascript">	timestamp=0;	il=0;	ilrt=0;	inc=0		if(inc==1)	{		timestamp=0;	}		if(ilrt==1)	{		createCookie("il",1,365);	}	//alert(timestamp);	 if(il==1) {		getLiveRealTime(timestamp);		//window.onbeforeunload = unloadPage; }</script> <style> .button { 			 /*Step 2: Basic Button Styles*/			 display: block;			 height: 50px;			 width: 90%;			 background: #CDB248;			 border: 2px solid rgba(33, 68, 72, 0.59);			 			 /*Step 3: Text Styles*/			 color: rgba(0, 0, 0, 0.55);			 text-align: center;			 font: bold 1.2em/50px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;			 			 /*Step 4: Fancy CSS3 Styles*/			 border-radius: 50px;			 text-shadow: 0 2px 2px rgba(255, 255, 255, 0.2);			 			}			 			/*Step 3: Link Styling*/			a.button {			 text-decoration: none;			}			 body { margin:0; padding:0; height:100%; }
    img{ width: 100%; }
    #wrap { height: 100%; margin-top: 20px; }
    
    #inner-wrap { padding-bottom:50px; } #inner-wrap:after { content:" "; display:block; clear:both;
    }
    #header { width: 100%; background-color: #C0C0C0; height: 150px; color: White; text-align: center; position: relative; top:0px; }
    /* Make Footer Sticky */ #footer_container { background: url('http://storagess.linktone.co.id/web_ss/img/elmrcti_18.jpg') repeat-x scroll 0 0 ;bottom:0; height:85px; left:0; position:fixed; width:100%; } #footer { font-family: arial;margin:10px auto; width:940px; text-align:center; font-weight: bold}
    
    
    #content { width: 100%; height: 100%; margin-left:auto;!important; margin-right:auto;!important; }
    .clear {clear:both;height:1px;overflow:hidden;mergin-top:-1px;} .round_box{ background-color: #190707; -moz-border-radius: 1px; border-radius: 1px; padding: 5px; font-family: arial; font-size: 13px; font-weight: bold; color: white; }
    .round_box_warning{ background-color: #F4EAA5; -moz-border-radius: 5px; border-radius: 5px; margin-right: 10px; padding: 5px; font-family: arial; font-size: 13px; font-weight: bold; color: white; }
    .button_red{ background: url('http://storagess.linktone.co.id/web_ss/img/elmrcti_15.jpg') no-repeat 0 0; width: 50%; height: 70px; padding: 10px; }
    #result{ margin-top: 0px; } .uploadbutton { 			background: #6C00CE; 			padding: 5px; 			border-radius: 5px; 			width: 88%; 			height: 30px; 			display: block; 			margin-left: auto; 			margin-right: auto; 			text-align: center; 			line-height: 30px; 			margin-bottom:5px; 			color: #FDFFFF;				font-family: Helvetica;				font-size: 1em;			}			.loadbutton { 			background: #BFBCBC; 			padding: 5px; 			border-radius: 5px; 			width: 75%; 			height: 30px; 			display: block; 			margin-left: auto; 			margin-right: auto; 			text-align: center; 			line-height: 30px; 			margin-bottom:5px; 			color: #FDFFFF;				font-family: Helvetica;				font-size: 1em;			}			.listphoto { 			background: #FFFFFF; 			padding: 10px; 			border-radius: 4px; 			width: 85%; 			display: block; 			margin-left: auto; 			margin-right: auto; 			text-align: center; 			margin-bottom:10px;			}			.listload { 			background: #E9EAED; 			padding: 10px; 			border-radius: 4px; 			width: 85%; 			display: block; 			margin-left: auto; 			margin-right: auto; 			text-align: center; 			margin-bottom:10px;			}			.fontname{				color: black;				font-family: Helvetica;				font-weight: 900;				font-size: 1em;			}			.fonttime{				color: #BABFC9	;				font-family: Helvetica;				font-weight: 500;				font-size: 0.8em;			}			.fonttitle{				color: #6C00CE	;				font-family: Helvetica;				font-weight: 600;				font-size: 0.8em;			}			.fonttext{				color: black;				font-family: Helvetica;				font-size: 1em;				padding-bottom:5px;			}			.fontupload{				color: black;				font-family: Helvetica;				font-size: 1em;			}			.videobox { position: relative; }			.videobox span {			 display: block;			 position: absolute;			 top: 0;			 left: 0;			 bottom: 0;			 right: 0;			 z-index: 1;			 background: url(img/playbutton.png) no-repeat center center;			}									
    </style> <script> 		page=0; 		isscroll=1; function call(){ $('#warning').hide(); $('#serverwarning').remove();				if($('#file').val().length===0){ $('#lbl_warning').text('File belum dipilih.'); $('#warning').show(); }else{ $("#result").html('<img style="width:20px;height:20px" src="http://cdn.rctimobile.com/img/loader.gif" alt="Uploading...."/>'); $("#uploadform").ajaxForm( { target: '#result' }).submit(); } } function getcontent(id){ 	isscroll=1; 	var window_width = screen.availWidth; 	$("#result").html('<img style="width:20px;height:20px" src="http://cdn.rctimobile.com/img/loader.gif" alt="Uploading...."/>'); 	$.get( "p_getcontent.php", { id: page, screenwidth: window_width } ) 	 .done(function( data ) { 		 $( "#result" ).empty().append( data ); 	 }); }			function getcontent2(){				var window_width = screen.availWidth;				$("#result").append('<img id="thumb" style="width:20px;height:20px" src="http://cdn.rctimobile.com/img/loader.gif" alt="Uploading...."/>');				 	page=page+1;					$.get("p_getcontent.php", { id: page, screenwidth: window_width },function(data) {	 $("#result").append(data);	 },'html');					$("#thumb").remove(); }
    			function getcontent3(idpage,img){				var window_height = screen.availHeight;				$("#load").hide(); 		 	$("#share").hide();				isscroll=0; 	$("#result").html('<img style="width:20px;height:20px" src="http://cdn.rctimobile.com/img/loader.gif" alt="Uploading...."/>'); 	$.get( "p_getcontent.php", { idpage: idpage, img: img, sreenheight: window_height }) 	 .done(function( data ) { 		 $( "#result" ).empty().append( data ); 		 	 }); }			function goindex() { 	window.location.replace("index.php"); }
    			busy=false;			$(document).ready(function() {							 // when we scroll, check the position:			 $(window).scroll(function()			 {			 // if at bottom, add new content:			 if($(window).scrollTop() + $(window).height() >= $(document).height() && !busy && isscroll==1)			 {			 	 var window_width = screen.availWidth;			 	 busy=true;			 	 $("#result").append('<div align="center" id="loader"><table width="100%"><tr><td style="text-align: center;"><img id="thumb" style="width:20px;height:20px;" src="http://cdn.rctimobile.com/img/loader.gif" alt="Uploading...."/></td></tr></div>');				 page=page+1;				 $.get("p_getcontent.php", { id: page, screenwidth: window_width },function(data) {			 $("#result").append(data);			 busy=false;			 $("#loader").remove();			 });				 			 }
    			 }); 
    			 });
    			 </script></head><body topmargin=0 leftmargin="0" bgcolor="#000000"> 
    <table width="100%" align="center" border="0" cellpadding="0" cellspacing="0" style="font-size:13px;">				<div>				<table width="100%">					<tr>					<td align="center">																								<video id="example_video_1" class="video-js vjs-default-skin vjs-big-play-centered"									 controls autoplay preload="auto" width="100%"									 poster=""									 data-setup='{"example_option":true}'>									 <source src="http://sangkuriang.mncplaymedia.net/channel3000004/index256.m3u8" />									 <p class="vjs-no-js">To view this video please enable JavaScript, and consider upgrading to a web browser that <a href="http://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a></p>									</video>									<script>										var _gaq = _gaq || [];									 	_gaq.push(['_setAccount', 'UA-58537712-2']);
    										var videoSource = new Array();
    										jscountvideotoplay=2;										jsvideotoplay=["https://r3---sn-2a5thxqp5-jb3l.googlevideo.com/videoplayback?signature=4D97D95F27AEBDD8156D476298B9754964EB824B.5B29751CA7E597D7FEA1105C86DAFC196F8A905A&itag=18&ei=WQE5WeCrEszPoAPs6aKYCg&sparams=clen,dur,ei,gir,id,ip,ipbits,itag,lmt,mime,mm,mn,ms,mv,pcm2cms,pl,ratebypass,requiressl,source,expire&requiressl=yes&mm=31&gir=yes&mn=sn-2a5thxqp5-jb3l&id=o-ADosz3dhrHotF8Bj4G3UQfniFdBnYLL5iCbC7P7jwo1L&dur=15.023&mt=1496907866&mv=u&ms=au&clen=1048352&ip=110.50.83.115&pcm2cms=yes&ratebypass=yes&lmt=1493887832901258&expire=1496929721&source=youtube&key=yt6&ipbits=0&pl=24&mime=video/mp4&beids=[9466591]&signature=&title=Garnier-LC-Night-Yoghurt-Sleep-Over-15s", "http://sangkuriang.mncplaymedia.net/channel3000004/index256.m3u8"];
    										for (i = 0; i < jscountvideotoplay; i++) 										{											videoSource[i]=jsvideotoplay[i];										}	 																																								var videoCount = videoSource.length;										if(videoCount>1)										{											//toggleControls()											pagereport1='PREROLL:::HijabLook:::GARNIER';											pagereport2='STREAMING:::MNCMOBILE:::LIVE STREAMING MNCMOBILE';										}										else										{											pagereport1='STREAMING:::MNCMOBILE:::LIVE STREAMING MNCMOBILE';											pagereport2='PREROLL:::HijabLook:::GARNIER';										}										_gaq.push(['_trackPageview', pagereport1]);										document.getElementById("example_video_1").setAttribute("src",videoSource[0]);										document.getElementById("example_video_1").load();										document.getElementById("example_video_1").play();										var i=0;										function videoPlay(videoNum)									 {											//toggleControls();											_gaq.push(['_trackPageview', pagereport2]);											document.getElementById("example_video_1").setAttribute("src",videoSource[videoNum]);											document.getElementById("example_video_1").load();											document.getElementById("example_video_1").play();									 }									 document.getElementById("example_video_1").addEventListener("ended",myHandler,false);											function myHandler() {												i++;																								if(i == (videoCount)){																									}												else{													videoPlay(i);												}											 										}										document.getElementById("example_video_1").addEventListener("loadeddata",myHandler2,false);										function myHandler2() {											document.getElementById("example_video_1").play();											 										}
    										function toggleControls() {											var video = document.getElementById("example_video_1");											 if (video.hasAttribute("controls")) {											 video.removeAttribute("controls") 											 } else {											 video.setAttribute("controls","controls") 											 }											}									</script>																				</td>					</tr>										</table>			 </div>					 </table>
    
    </body></html>
  3. Setelah di hosting silahkan gunakan iframe AMP seperti ini.
  4. <amp-iframe frameborder="0" height="500" layout="responsive" sandbox="allow-scripts allow-same-origin allow-popups" scrolling="no" src="https://cdn.rawgit.com/sorrry/encep.github.io/bc903dd9/rctimobile.html" width="700"> </amp-iframe>
    
    
  5. Pasang di blog dalam mode HTML selesai bisa juga di pasang di sidebar atau halaman statis tinggal di edit edit lagi hehe
Kalo gak mau ribet bisa gunakan URL hosting yang sudah jadi seperti ini.tinggal iframe seperti cara di atas
https://cdn.rawgit.com/sorrry/encep.github.io/bc903dd9/rctimobile.html


Dan hasilnya seperti di bawah ini


Selamat mencoba.


blog views
Reactions:
Donate via PayPal

You Might Also Like:

ADD A COMMENT WITH YOUR FACEBOOK PLEASE WAIT FOR FACEBOOK COMMENT WILL SOON OPEN

ADD A COMMENT WITH DISQUS HIDE COMMENT

Disqus Comments

ADD A COMMENT WITH GOOGLE PLUS HIDE COMMENT

google Comments

Hello, how may we help you? Just send us a message now to get assistance.

Facebook Messenger ×