Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2012-09-16 17:48:46

ptsguy
Member
Registered: 2012-08-06
Posts: 135

Everyone please read if ya didn't know...now ya know... and correct me

this script is html5 compatible by changing the doctype you can get rid of the <h5> errors on w3 validation

also, check all exoclick ads and make sure you &amp; where applicable to make your site varified

check out juicy ads or whatever you use for embed overlay ads or invideo ads etc

alot of depreciated attributes inside of the iframe code will cause your site to be not verified

google likes verified sites...so get it verified.. I got my homepage html5 verified today and working on the rest of the templates now!!!

Offline

#2 2012-09-16 23:51:29

Nuevolab
Member
Registered: 2012-08-01
Posts: 189

Re: Everyone please read if ya didn't know...now ya know... and correct me

Regarding valid HTML you are right about special chars like "&", however there can be more chars like that.
When talking of "h5" tag - indeed it's causing valdation error, and it's because such tag shouldn't be nested within link <a> object.
Also such link looks more like "black" seo... So I think it's good idea to move video title outside of link. That's what most of sites do.
Yutube uses double link, separate for thumb and title, but that's youtube - nobody's going to hurt it big_smile

I don't understand your concern about DOC type for HTML5.
ASP script automatically detects device, and if it's some mobile/tablet automatically loads mobile template with correct DOC type.
Of course it's possible to remove mobile template automatic load and use standard template, however flow or jw players are not prepared for HTML5 playback then. Other case is that ASP mobile template is pretty cool, so is there really such need?

It would be fine to load standard template on tablet devices that have enough big screen. This indeed requires to change DOC type, based on device detected, but other case is player and assigned file to play. It won't be valid for HTML5 playback.
Finally this is huge problem to detect device like tablet. For a long time devs used to detect screen size and if it's large one (over 1000px wide) - assign tablet detected. But nowadays smaller phone devices has same large screens, so the only way to detect tablet is to search for "mobile"  within userAgent string. But this is also not 100% working solution.

I'm afraid that iframe player, embedded on some other site won't play as HTML5 when device is other than desktop PC.
ASP script assigns FLV or HD/mp4 video to play - and these are not valid HTML5 formats. Players like flow or JW can have one instance of video only (or 2 if HD plugin used). Surely not FLV and mobile MP4 together.
When writing my Nuevoplayer I was thinking about such scenario and that's why I added multiple video sources possible support: flv or mp4 for standard playback, x264/mp4, ogg and webm for html5. Then player autmatically detects HTML5 or Flash support and assigns valid file to play.
Finally iframe player doesn't autosize automatically. I mean, if you change iframe size - player won't fit it, stay same default size.

All of this is not huge pain for adult script, as few people only decides to allow embedding videos, and even if, it will play fine if only device supports flash. However as a long time players programmer I can see such things clearly, and I used to consider every possible scenario and trying to have a solution for it (if only possible). Luckilly I have few devices at home like iPhone,Ipad,Android, so it's easier for me.

Offline

#3 2012-09-17 01:16:48

ptsguy
Member
Registered: 2012-08-06
Posts: 135

Re: Everyone please read if ya didn't know...now ya know... and correct me

That <h5> tag inside an <a> is supported in HTML5.. wink I was reading the net and found it...a block inside of an inline is considered valid in html5

Offline

#4 2012-09-17 03:37:18

Nuevolab
Member
Registered: 2012-08-01
Posts: 189

Re: Everyone please read if ya didn't know...now ya know... and correct me

ptsguy wrote:

That <h5> tag inside an <a> is supported in HTML5.. wink I was reading the net and found it...a block inside of an inline is considered valid in html5

Not W3C valid. I don't care about other validators.
There is no other issue with video thumb links, the only one is "<h5>" tag.
Block-level elements such as "<p>" or "<h5>", etc. are not valid inside an inline element such as "<a>"
Note that validator for html5 is only experimental, and it doesn't check lot of html rules.
Whatever, this is not good to put both: img and text together within <a> element.
But it's also not critical thing, and I suggest not to concern much about validity until these are not serious html structure bugs. Even most powerful sites are not vallid, including Google, Yahoo, Youtube, Dailymotion and pornhub as well..

Last edited by Nuevolab (2012-09-17 03:49:38)

Offline

#5 2012-09-17 06:00:02

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Everyone please read if ya didn't know...now ya know... and correct me

I'm planning to keep the mobile template for html5, unless there are a lot of requests for the change. Even if you manage to get the site to VALIDATE, the moment you add ads the validation is gone.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#6 2012-09-17 11:37:33

ptsguy
Member
Registered: 2012-08-06
Posts: 135

Re: Everyone please read if ya didn't know...now ya know... and correct me

I got it to validate with the ads, just had to fix & with &amp; and move out the depreciated shit from iframe into css if needed otherwise just pulled it completely.

Offline

#7 2012-09-17 14:29:17

Nuevolab
Member
Registered: 2012-08-01
Posts: 189

Re: Everyone please read if ya didn't know...now ya know... and correct me

Don't forget that you do not have control over Ad content, and this is surely what Symtab wanted to say.
Many Ad networks don't care much about validity, or use completely custom tags, not known for any HTML standards.

Offline

#8 2012-09-17 14:33:12

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Everyone please read if ya didn't know...now ya know... and correct me

For me as a developer it was very important to get the template to validate, however once i realised that with ads (even if you clean them up, not every client can do this) it will not validate, i dropped the idea. I dont think its important for SEO. None of the big sites out there are valid.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB