Fixed Next button when serving SWF files

This commit is contained in:
Seednode 2023-09-12 18:51:40 -05:00
parent 3b4f8f7499
commit cc00a1b63b
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ import (
) )
const ( const (
ReleaseVersion string = "0.72.0" ReleaseVersion string = "0.72.1"
) )
var ( var (

View File

@ -26,7 +26,7 @@ func RegisterFlash() *Type {
var html strings.Builder var html strings.Builder
html.WriteString(fmt.Sprintf(`<script src="https://unpkg.com/@ruffle-rs/ruffle"></script><script>window.RufflePlayer.config = {autoplay:"on"};</script><embed src="%s"></embed>`, fileUri)) html.WriteString(fmt.Sprintf(`<script src="https://unpkg.com/@ruffle-rs/ruffle"></script><script>window.RufflePlayer.config = {autoplay:"on"};</script><embed src="%s"></embed>`, fileUri))
html.WriteString(fmt.Sprintf(`<br /><button onclick=\"window.location.href = '/%s';\">Next</button>`, queryParams)) html.WriteString(fmt.Sprintf(`<br /><button onclick="window.location.href = '/%s';">Next</button>`, queryParams))
return html.String() return html.String()
}, },