Embedding Client

For discussion of the Poker Mavens server module and other administration topics
Shadez69
Posts: 13
Joined: Tue Jun 14, 2016 5:17 am
Contact:

Embedding Client

Post by Shadez69 »

Embedding the clint.

Hi I am trying to embed the client, I c&p the code from the site and this is what I get:

https://t.gyazo.com/teams/thedrunkendon ... 2bda20.png

Any help appreciated, thanks!
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: Embedding Client

Post by Kent Briggs »

Looks like your iframe is way too small. The lobby and table windows are 706 x 568 pixels in size so your iframe needs to be larger than that.
Shadez69
Posts: 13
Joined: Tue Jun 14, 2016 5:17 am
Contact:

Re: Embedding Client

Post by Shadez69 »

Thanks and how do I set that?
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: Embedding Client

Post by Kent Briggs »

Shadez69 wrote:Thanks and how do I set that?
Either with CSS or by adding (or modifying) width and height parameters on the iframe element. See the CSS example shown in item 3 of the FAQ that sizes it at 100% to fill the page:

http://www.briggsoft.com/pmfaq.htm
Shadez69
Posts: 13
Joined: Tue Jun 14, 2016 5:17 am
Contact:

Re: Embedding Client

Post by Shadez69 »

Yea I c&p the code exactly from there and that's the results I got, is there something else in that code I need to modify?
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: Embedding Client

Post by Kent Briggs »

Shadez69 wrote:Yea I c&p the code exactly from there and that's the results I got, is there something else in that code I need to modify?
You haven't shown me your HTML markup or a link to your site so I have no idea what you are working with.
Shadez69
Posts: 13
Joined: Tue Jun 14, 2016 5:17 am
Contact:

Re: Embedding Client

Post by Shadez69 »

bp.png
bp.png (74.9 KiB) Viewed 9711 times
bp.png
bp.png (74.9 KiB) Viewed 9711 times
Ok this is what I have and the results, like I said it's a cut and paste taken from here and I just changed the IP address.

Thanks
Shadez69
Posts: 13
Joined: Tue Jun 14, 2016 5:17 am
Contact:

Re: Embedding Client

Post by Shadez69 »

Changed thew 2nd pic don't know why it sent that one and can't dfind an edit button but here is the second pic I meant to show.

https://t.gyazo.com/teams/thedrunkendon ... bcdb00.png
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: Embedding Client

Post by Kent Briggs »

What is that system that you are embedding into? Just guessing but most likely you shouldn't be pasting in an entire HTML document with all the DOCTYPE, html, head, and body tags like that as the parent document would already have that.
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: Embedding Client

Post by Kent Briggs »

I just noticed there is a missing closing bracket ">" in the iframe tag that was missing from my FAQ page (now fixed). Try just pasting that tag (removing all those other lines) alone in your content section like this:

Code: Select all

<iframe src="71.224.42.17:8087" width="100%" height="100%"></iframe>
Post Reply