Warning: Uninitialized string offset 2 in /home/platinum/public_html/includes/language.php on line 226

Warning: Undefined array key "" in /home/platinum/public_html/includes/language.php on line 227
A PHP-Nuke Platinum Web Portal » Blogs
PHP-Nuke Platinum
     
PHP-Nuke Platinum v7.6.5 / PHP v8.2.21
Sponsor Tron for PHP-Nuke Platinum
::: There is so much more here to see, it takes 30 seconds to register an account and we don't even verify with e-mail! Just register we promise you won't be sorry... ::: Login or Register
IPHub is an IP lookup website featuring Proxy/VPN detection. A free API is available, so you can perform fraud checks on online stores, detect malicious players on online games and much more! Look at this! Click here Look at this! to sign up for FREE today at ipHub ::: Country Music: The Soul Circus Cowboys ::: Sponsor: Brandon Maintenance Management, LLC Phone: 813-846-2865 ::: Sponsor: Big Country Radio - The EJ Morning Show :::
Link-us
A PHP-Nuke Platinum Web Portal



View All Buttons



PHP-Nuke Titanium Developers Website!
( 393 CLICKS )


TheGhost's Humble Online Abode
( 250 CLICKS )


PHP-Nuke Platinum Developer Website!
( 226 CLICKS )


The 86it Developers Network
( 266 CLICKS )


Mega Portal
( 326 CLICKS )


Lonestar Modules
( 335 CLICKS )


Headshotdomain
( 325 CLICKS )

Honey Pot Protected
Bots in the pot!
We have 1489 Bots
in the Honey Pot!


Search




Visits

We received

720,910

Page Views Since March 2023

Open-Source
PHP-Nuke Platinum Site Updates: We just updated with tonights Ruffle build!
Posted by KarlChilders Wed Mar 08, 2023 2:56 am

Ruffle Web

For integrating Ruffle onto your PHP-Platinum website:

  • Download the latest Ruffle nightly build for web.
  • Put these files in your includes/ruffle-core directory on your PHP-Nuke Platinum website.

Alternatively, Ruffle is packaged with npm every release and can be included through one of the official CDN releases, such as unpkg.

You can also use a version-aliased file from jsDelivr, but only unpkg can automatically update without caching concerns.

You may then use Ruffle as a polyfill for legacy Flash embeds or use the Ruffle JavaScript API directly.

Polyfill

Ruffle will automatically replace any old-style Flash embeds on websites with Ruffle elements. This is ideal for someone looking to preserve a legacy website with a minimum amount of work. All you need to do is include the following script tag on the desired webpage:

    echo "<!-- Loadiing includes/ruffle-core/ruffle.js from header.php -->";
    echo '<script src="includes/ruffle-core/ruffle.js"></script>'."";
    
    echo '
    <script>
    window.RufflePlayer = window.RufflePlayer || {};
    window.RufflePlayer.config = {
    "publicPath": undefined,
    "polyfills": true,
    "autoplay": "on",
    "unmuteOverlay": "hidden",
    "backgroundColor": null,
    "wmode": "window",
    "letterbox": "fullscreen",
    "warnOnUnsupportedContent": true,
    "contextMenu": true,
    "showSwfDownload": false,
    "upgradeToHttps": window.location.protocol === "https:",
    "maxExecutionDuration": {"secs": 15, "nanos": 0},
    "logLevel": "error",
    "base": null,
    "menu": true,
    "salign": "",
    "scale": "showAll",
    "forceScale": false,
    "quality": "high",
    "splashScreen": false,
    };    
    </script>'; 

If you'd prefer to use the automatically updating CDN release, you can include the following script tag instead:

<script src="https://unpkg.com/@ruffle-rs/ruffle"></script>

If you embed SWF content using JavaScript libraries such as SWFObject, then this tag should be placed as the first script tag in the <head>, so Ruffle will be able to install its plugin spoof in time. In any other case, it's good practice to add the script before the closing </body> tag.

Any Flash embed on the page should now be replaced with Ruffle. If Ruffle fails to load, you may need to specify the publicPath setting: please see the Configuration Options

Enjoy your PHP-Nuke Platinum my friends,,,

 

Sincerely,
Karl Childers

avatar  Data Scientist / Programmer
  name: Karl Childers
  email: Administrator[at]platinum.coders.exchange


( Reads : 384 )
 
Related Links


More about
[ Open-Source ]

Blog Post by
[ KarlChilders ]

Current Blog Topic
( Open-Source )


Blog Subject
We just updated with tonights Ruffle build!

Blog Post Rating
This Blog has a
5 Star Rating


1 person has
voted for this Blog


Will you take a moment to vote for this Blog Post? Your VOTES are appreciated by the Author!

stars



Excellent
Very Good
Good
Regular
Bad


Google Sitemap
This site is cached. CLICK HERE TO UPDATE CACHE
BlackJack Theme v1.0 © 2022
[ About Us ] - [ Disclaimer Statement ] - [ Privacy Statement ] - [ Terms of Use ]
MySQL Database Server: 10.3.39-MariaDB
Page Generation: 0.03 Seconds | Memory Usage: 755.35 KB | DB Queries: 45
Do Not Click