I got a conundrum on something...
I have been looking around at different sports schedule widgets.. I found the one that comes with LTQ is lacking on where it list sports country wise...
I found one at https://sport-tv-guide.live/widgets/tvguide that is promising.. only can select 9 sports (says 10 but when you're adding 10th you get error).
The embed code itself is normal. My main thing that I would like to do is embed a code that points to the actual code on my website, so that I can change everyone's apk sports schedule based on the current sports. I tried making the embed code into a php, then embedding .
The code for the sports-tv-guide.live embed widget is
Inside your apk/res/values/strings.xml there is the code for the app's sports schedule...below is the default code for it.
The code from the service doesn't work at all. it won't even compile apk with it in there as it is.
My modified tries was to pull the codes url itself and put it inside the existing embed code as follows (compile errors same as before)
I even put the embed code from the Sport-tv-guide site exactly as it was inside a php file, and then embed coded it...
I have been looking around at different sports schedule widgets.. I found the one that comes with LTQ is lacking on where it list sports country wise...
I found one at https://sport-tv-guide.live/widgets/tvguide that is promising.. only can select 9 sports (says 10 but when you're adding 10th you get error).
The embed code itself is normal. My main thing that I would like to do is embed a code that points to the actual code on my website, so that I can change everyone's apk sports schedule based on the current sports. I tried making the embed code into a php, then embedding .
The code for the sports-tv-guide.live embed widget is
HTML:
<style>.containerFrame {width: 100%;} .frameData {width: 100%;} .hosting{margin:20px; font-size:70%; padding:6px; border:1px solid #17628b; margin-bottom:10px;} .hosting a{font-weight:bold;color:#17628b;} .dataList{padding:20px;}</style><script>var eventMethod = window.addEventListener ? "addEventListener" : "attachEvent"; var eventer = window[eventMethod]; var messageEvent = eventMethod == "attachEvent" ? "onmessage" : "message"; eventer(messageEvent,function(e) { if(typeof e.data == "number" && e.data > 100) document.getElementById("outputFrame").height = e.data + "px";},false);</script><iframe class="frameData" id="outputFrame" src="https://sport-tv-guide.live/hosting-manual/ed050d105fc5?time_zone=US/Eastern&fc=1,7,102&time12=0&sports=22,19,5,4,1,8,10,12,7,20,24&bg=#f8f8f9&=1&bgs=#b7b7b7&grp=1" style="position:relative;border:none;" frameborder="0"></iframe><div style="padding:5px;background:#e6e5e5;text-align:center;font-size:10px">Powered by <a href="https://sportguide.live">Live Sports TV Guide</a></div>
Inside your apk/res/values/strings.xml there is the code for the app's sports schedule...below is the default code for it.
HTML:
<string name="sports_schedule" formatted="false">"<iframe src=\"https://www.tvsportguide.com/widget/5cc316f797659?heading=Events&border_color=custom&autoscroll=0&custom_colors={first_color},{first_color},ffffff\" frameborder=\"0\" style=\"width: 100%; height: 100%; border: none;\"></iframe>
<p style=\"margin-top: 2px; font-size: 10px;\">&copy; <a href=\"https://www.tvsportguide.com?link_src=widget&ref=https://lttelevision.com/\" target=\"_blank\">LTQ - Sport on LTQ/a></p>"</string>
The code from the service doesn't work at all. it won't even compile apk with it in there as it is.
My modified tries was to pull the codes url itself and put it inside the existing embed code as follows (compile errors same as before)
HTML:
<string name="sports_schedule" formatted="false">"<iframe src=\""https://sport-tv-guide.live/hosting-manual/ed050d105fc5?time_zone=US/Eastern&fc=1,7,102&time12=0&sports=22,19,5,4,1,8,10,12,7,20,24&bg=#f8f8f9&=1&bgs=#b7b7b7&grp=1"\" frameborder=\"0\" style=\"width: 100%; height: 100%; border: none;\"></iframe>
<p style=\"margin-top: 2px; font-size: 10px;\">&copy; <a href=\"https://sport-tv-guide.live/\" target=\"_blank\">LTQ - Sport on LTQ/a></p>"</string>
I even put the embed code from the Sport-tv-guide site exactly as it was inside a php file, and then embed coded it...
HTML:
<string name="sports_schedule" formatted="false">"<iframe src=\""http://mydomain/ltq/sepg.php"\" frameborder=\"0\" style=\"width: 100%; height: 100%; border: none;\"></iframe>
<p style=\"margin-top: 2px; font-size: 10px;\">&copy; <a href=\"https://sport-tv-guide.live/\" target=\"_blank\">LTQ - Sport on LTQ/a></p>"</string>
Last edited: