BBO Discussion Forums: Has handviewer embed syntax changed - BBO Discussion Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Has handviewer embed syntax changed

#1 User is online   thepossum 

  • PipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 3,073
  • Joined: 2018-July-04
  • Gender:Male
  • Location:Australia

Posted 2026-June-08, 23:55

Hi there

Tried embedding two hands from handviewer today but showed up blank
Thought maybe I had forgotten the syntax but checked a few old threads and previously functioning hands going back a long time have now lost all their cards
Would hate for people to think I have been posting blank hands for years - although other people have interacted with them so hopefully I am not going crazy
Can anyone advise on the change in syntax please - I have noticed many people have started using tiny url rather than embedding - will start doing the same :)
Not sure if I have time to fix every old hand I ever posted though

thanks
P
0

#2 User is offline   paulg 

  • PipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 5,216
  • Joined: 2003-April-26
  • Gender:Male
  • Location:Edinburgh

Posted 2026-June-09, 01:00

The hands on my blog are still functioning fine so I don't think it has changed.

The last big change that I noticed was that you needed to use https:// instead of http:// within

<iframe src="http://www.bridgebase.com/tools/handviewer.html?s=sakqhakqdakqcakqj&d=w&a=3hpp" height="350px" width="200px"/>

The documentation has never been changed to reflect this.

For example, the last hand I created used

<iframe height="350px" src="https://www.bridgebase.com/tools/handviewer.html?w=saqj975hj2daq93ca&amp;d=s&amp;v=b&amp;a=1h1s3h5sp?" width="200px"></iframe>
The Beer Card

I don't work for BBO and any advice is based on my BBO experience over the decades
0

#3 User is offline   barmar 

  • PipPipPipPipPipPipPipPipPipPipPipPip
  • Group: Admin
  • Posts: 22,069
  • Joined: 2004-August-21
  • Gender:Male

Posted 2026-June-09, 10:03

View Postpaulg, on 2026-June-09, 01:00, said:

The last big change that I noticed was that you needed to use https:// instead of http:// within

<iframe src="http://www.bridgebase.com/tools/handviewer.html?s=sakqhakqdakqcakqj&d=w&a=3hpp" height="350px" width="200px"/>

The documentation has never been changed to reflect this.

This is probably a browser security thing, not something we're doing. If the main page is loaded with HTTPS, it has to use HTTPS for embedded content.

#4 User is offline   barmar 

  • PipPipPipPipPipPipPipPipPipPipPipPip
  • Group: Admin
  • Posts: 22,069
  • Joined: 2004-August-21
  • Gender:Male

Posted 2026-June-09, 10:06

We made some fixes a couple of months ago to prevent cross-site scripting exploits from the annotations feature of handviewer. It's possible they had unexpected side effects.

Can you give an example of a handviewer URL you tried?

#5 User is online   thepossum 

  • PipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 3,073
  • Joined: 2018-July-04
  • Gender:Male
  • Location:Australia

Posted Today, 16:03

Hi

Thanks for comments. I thought I had tested likely local effects with reboots and browsers. I don't know if I rebooted my router and haven't tried on different Internet connection yet :)

I haven't checked back at any old hands to see if they work today because I am on my phone

Here is a test hand. Still blank on my phone. Chrome :)



EDIT it is now fixed in one way. Still not sure what happened to the old format
Edit 2 this is not the forum to critique the bidding either. Nobody bid 7NT :) and 6+1 was equal top :)

Sorry it is
.

You will have to look at the source. The second should be blank

https://www.bridgeba...CQ%7Cmc%7C13%7C

That is the URL as exported

Have used the same for years and my old hands don't work now either.

Changing Internet provider didn't fix it
Am downloading new browsers to test

While I am grateful for helpful comments denying the issue is real is a form of gaslighting

Not working in other browsers on my phone either. Weird.

Somebody mentioned https. Trust problem lol. Given the state of AUKUS

Wish I could copy and paste a screenshot:)

It starts off with [hv="url"]

Then you have 400|300 for frame size

Then you close the hv tag in the usual way :)

I will just paste urls for the time being :(

Preferring not to clear caches for time being. Could be an old script but new browsers have the same issue
0

#6 User is online   thepossum 

  • PipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 3,073
  • Joined: 2018-July-04
  • Gender:Male
  • Location:Australia

Posted Today, 17:25

Still not working
Different device and my gym wifi 😊
0

#7 User is offline   kerkido 

  • Pip
  • Group: Members
  • Posts: 8
  • Joined: 2024-February-07

Posted Today, 18:07

View Postthepossum, on 2026-June-11, 16:03, said:

It starts off with [hv="url"]

You're meant to use [hv=url], not [hv="url"]. It probably used to work if you added quotes, but they were never meant to be there and now won't work.
0

#8 User is online   thepossum 

  • PipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 3,073
  • Joined: 2018-July-04
  • Gender:Male
  • Location:Australia

Posted Today, 18:46

View Postkerkido, on 2026-June-11, 18:07, said:

You're meant to use [hv=url], not [hv="url"]. It probably used to work if you added quotes, but they were never meant to be there and now won't work.


so it's the quotes thanks. they used to work :)

I will edit it and see :)

Not sure if I am going back many years and fixing them all up :(

Nope that didn't fix it but the frame size changed :) I assumed the quotes were needed to go across line breaks

We will get there eventually because I have found a couple of hands that work in GiB Forum
0

#9 User is online   thepossum 

  • PipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 3,073
  • Joined: 2018-July-04
  • Gender:Male
  • Location:Australia

Posted Today, 18:52


Works for me


I pinched that off the forum discussing the syntax. It appears to have different line break syntax. Mine doesn't have line breaks - just the way it appears in the HTM editor. Will keep looking but it has a https bit at the front. Bear with me. Will get there

The working synatx stats with hv=bbo=y&lin=pn etc. No URL

Yay
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users