Embed PPSX in HTML

Asked

Viewed 261 times

0

I wonder if there is any way to embed a slide in . ppsx format in a website’s html. I want to avoid having to run the slide for some reasons.

  • I believe that only by converting, since natively no browser supports this format, maybe IE11 with Activex can use together with the tag <object>, but it is something restricted only to IE11 (if it has activex support for PPSX). However, you can try https://www.zamzar.com/convert/ppsx-to-html5/

1 answer

0


Browsers do not have support for PPSX and will hardly come to have, perhaps with third-party software, but this will depend on installing something on the machine.

Maybe IE11 supports if Office installation offers Activex for this, which is not something guaranteed.

Still reading the answers in:

You can try using the service as Googledocs or View Office Documents online and do the "embed" with <iframe>

Uploading to googledocs and select share or ship it like this:

<iframe src="http://docs.google.com/gview?url=http://seusite/<arquivo>&amp;embedded=true"></iframe>

Or manage the embed via View Office Documents online, should look like this:

<iframe src="https://view.officeapps.live.com/op/embed.aspx?src=http://seusite/<arquivo>"></iframe>

Extra

There is an online tool called cloudconvert, they have an API service:

List of supported formats (including PPSX):

However it is important to note that this is service with limits, if you exceed will not be possible to use, so if you need more see https://cloudconvert.com/pricing

With this service you can carry out the conversion tasks online, follow the documentation https://cloudconvert.com/api/conversions

Note: change <API_KEY> by your access key

The HTTP upload should look like this for the URL https://api.cloudconvert.com/process, with the header:

Authorization: Bearer <API_KEY>

And the payload:

{
    "inputformat": "ppsx",
    "outputformat": "html"
}

However, there are facilitators in PHP, such as https://github.com/cloudconvert/cloudconvert-php (requires Composer), example of use:

<?php
require __DIR__ . '/vendor/autoload.php';
use \CloudConvert\Api;

$api = new Api("<API_KEY>");

$process = $api->createProcess([
    "inputformat" => "ppsx",
    "outputformat" => "html",
]);

For Node.js there is the https://github.com/cloudconvert/cloudconvert-node, example:

var fs = require('fs'),
    cloudconvert = new (require('cloudconvert'))('<API_KEY>');

cloudconvert.createProcess({
    "inputformat": "ppsx",
    "outputformat": "html"
}, function(process) {

});

And for python https://github.com/cloudconvert/cloudconvert-python:

import cloudconvert

api = cloudconvert.Api('<API_KEY>')

process = api.createProcess({
    "inputformat": "flv",
    "outputformat": "mp4"
})
  • There is no API to help convert and then display ?

  • @wferreiracosta edited the answer, see if it helps.

  • 1

    I help a lot, thank you !!!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.