IT story

HTML에 PowerPoint 프레젠테이션 포함

hot-time 2020. 12. 29. 07:54
반응형

HTML에 PowerPoint 프레젠테이션 포함


웹 페이지 (.xhtml)에 PowerPoint 프레젠테이션 (.ppt)을 포함 할 수 있습니까?

이는 Internet Explorer 6과 Internet Explorer 7이 혼합 된 로컬 인트라넷에서만 사용되므로 다른 브라우저를 고려할 필요가 없습니다.


포기 했어 ... 플래시가 앞으로 나아갈 길이라고 생각합니다.


Google 문서 도구는 문서 뷰어에서 PowerPoint (및 PDF) 문서를 제공 할 수 있습니다. Google 문서 도구에 가입 할 필요없이 웹 사이트에 업로드하고 페이지에서 호출하기 만하면됩니다.

<iframe src="//docs.google.com/gview?url=https://www.yourwebsite.com/powerpoint.ppt&embedded=true" style="width:600px; height:500px;" frameborder="0"></iframe>

나는 색다른 또는 플래시가 필요한 파워 포인트를 웹 호스팅하기 위해 모든 다른 옵션을 시도하는 것에 너무 지쳐서 나만의 것을 굴 렸습니다.

내 솔루션은 매우 간단한 자바 스크립트 기능을 사용하여 이미지 태그를 Power Point 프레젠테이션 자체에서 저장 한 GIF로 간단히 스크롤 / 바꾸기합니다.

  1. 파워 포인트 프레젠테이션에서 다른 이름으로 저장을 클릭하고 GIF를 선택합니다. 프레젠테이션을 표시 할 품질을 선택합니다. Power Point는 각 슬라이드에 대해 하나의 GIF 이미지를 저장하고 이름을 Slide1.GIF, Slide2.GIF 등으로 지정합니다.

  2. HTML 페이지를 만들고 이미지 태그를 추가하여 Power point GIF 이미지를 표시합니다.

    <img src="Slide1.GIF" id="mainImage" name="mainImage" width="100%" height="100%" alt="">
    
  3. 다음과 같이 onClick 작업으로 처음, 이전, 다음 및 마지막 클릭 가능한 개체를 추가합니다.

    <a href="#" onclick="swapImage(0);"><img src="/images/first.png" border=0 alt="First"></a>
    <a href="#" onclick="swapImage(currentIndex-1);"><img src="/images/left.png" border=0 alt="Back"></a>
    <a href="#" onclick="swapImage(currentIndex+1);"><img src="/images/right.png" border=0 alt="Next"></a>
    <a href="#" onclick="swapImage(maxIndex);"><img src="/images/last.png" border=0 alt="Last"></a>
    
  4. 마지막으로 호출시 다음 Slide.GIF 이미지를 가져와 img 태그에 표시하는 아래 자바 스크립트 함수를 추가합니다.

    <script type="text/javascript">
        //Initilize start value to 1 'For Slide1.GIF'
        var currentIndex = 1;
    
        //NOTE: Set this value to the number of slides you have in the presentation.
        var maxIndex=12;
    
        function swapImage(imageIndex){
            //Check if we are at the last image already, return if we are.
            if(imageIndex>maxIndex){
                currentIndex=maxIndex;
                return;
            }
    
            //Check if we are at the first image already, return if we are.
            if(imageIndex<1){
                currentIndex=1;
                return;
            }
    
            currentIndex=imageIndex;
            //Otherwise update mainImage
            document.getElementById("mainImage").src='Slide' +  currentIndex  + '.GIF';
            return;
        }
    </script>
    

HTMl 페이지에서 GIF에 접근 할 수 있는지 확인하십시오. 기본적으로 동일한 디렉토리에있을 것으로 예상되지만 필요한 경우 로직과 이미지 디렉토리로 설정하는 방법을 볼 수 있어야합니다.

http://www.vanguarddata.com.au 에이 기술을 사용하는 회사에 대한 교육 자료가 있으므로 시험해보기 전에 실제로 살펴볼 수 있습니다.

나는 이것이 내가 한 것처럼 이것으로 많은 두통을 겪고있는 다른 누군가를 돕기를 바랍니다 .....


Id는 공식 View Office 문서를 온라인으로 추천합니다.

링크

삽입을 위해 간단히 사용할 수 있습니다.

<iframe src='https://view.officeapps.live.com/op/embed.aspx?src={urlencode(site-to-ppt)}' width='962px' height='565px' frameborder='0'></iframe>

DocStoc.comScribd.com은 모두 Internet Explorer 6 및 Internet Explorer 7에서 잘 작동합니다. PowerPoint 파일 (.ppt)을 포함하여 다양한 문서 유형을 표시합니다. 직장에서 인트라넷에 이러한 서비스를 사용합니다. 물론 문서를 업로드 한 후에는 문서를 '비공개'로 표시해야합니다.


또한 .ppsMicrosoft PowerPoint를 사용하여 ppt를 형식으로 저장 하면 다음 코드를 사용할 수 있습니다.

<iframe src="file.pps" width="800px" heigt="600px"></iframe>

또 다른 일반적인 방법은 ppt / doc를 pdf로 변환하는 것입니다.

그런 다음 swftool ( http://www.swftools.org )을 사용 하여 swf로 변환합니다.

마지막으로 FlexPaper ( http://flexpaper.devaldi.com )를 문서 뷰어로 사용합니다.


PowerPoint 슬라이드를 HTML에 직접 포함하는 방법을 모르겠습니다. 그러나 PPT 파일을 SWF 로 변환하는 온라인 솔루션은 여러 가지 가 있으며 이는 다른 Flash 동영상과 마찬가지로 HTML에 포함 할 수 있습니다.

Googling for 'ppt to swf' seems to give a lot of hits. Some are free, others aren't. Some handle things like animations, others just do still images. There's got to be one out there that does what you need. :)


You can use Microsoft Office Web Apps to embed PowerPoint and Excel Files. See Say more in your blog with embedded PowerPoint and Excel files.


I ended up going for screenshooting each slide, and using two different tabs to navigate, this was put into an . this gives high-res, but you sacrifice animations and interactivity, the only thing the user can do is read and change slide. heres an example off my website: http://deepschool.jaberwokkee.kodingen.com/~/Miss%20Necchi%27s%20powerpoints/Volume%20of%20prisms%20powerpoint/slide1.htm


Google Docs allows you to upload a PowerPoint document, you can then 'Share' it with everyone then you can 'Publish' it and this will provide code to embed it in your site or you can use a direct link which runs at the full size of the browser window. The conversion is pretty good and scales well because the text is retained rather than converted to an image. The conversion is pretty good and the whole thing is free. Definitely worth a go.


Tried all of the options in this stack and couldn't reach something that loaded swiftly, used PPT. file directly, and scaled easily. Saved out my ppt. as .gif and opted for "Infinite Carousel" (javascript) that I can drop images into easily. Has left right controls, play option, all the same stuff you find in ppt. presenter mode...

http://www.catchmyfame.com/2009/12/30/huge-updates-to-jquery-infinite-carousel-version-2-released/


The 'actual answer' is that you cannot do it directly. You have to convert your PowerPoint presentation to something that the browser can process. You can save each page of the PowerPoint presentation as a JPEG image and then display as a series of images. You can save the PowerPoint presentation as HTML. Both of these solutions will render only static pages, without any of the animations of PowerPoint. You can use a tool to convert your PowerPoint presentation to Flash (.swf) and embed it that way. This will preserve any animations and presumably allow you to do an automatic slideshow without the need for writing special code to change the images.


The first few results on Google all sound like good options:

http://www.pptfaq.com/FAQ00708.htm

http://www.webdeveloper.com/forum/showthread.php?t=86212


Some Flash tool that can convert the PowerPoint file to Flash could be helpful. Slide share is also helpful. For me, I will take something like PPT2Flash Pro or things like that.


Well, I think you get to convert the powerpoint to flash first. PowerPoint is not a sharable format on Internet. Some tool like PowerPoint to Flash could be helpful for you.


Try PowerPoint ActiveX 2.4. This is an ActiveX component that embeds PowerPoint into an OCX.

Since you are using just Internet Explorer 6 and Internet Explorer 7 you can embed this component into the HTML.


As a side note: If your intranet users also have access to the Internet, you can use the SlideShare widget to embed your PowerPoint presentations in your website.

(Remember to mark your presentation as private!)


I spent a while looking into this and pretty much all of the freeware and shareware on the web sucked. This included software to directly convert the .ppt file to Flash or some sort of video format and also software to record your desktop screen. Software was clunky, and the quality was poor.

The solution we eventually came up with is a little bit manual, but it gave by far the best quality results:

  1. Export the .ppt file into some sort of image format (.bmp, .jpeg, .png, .tif) - it writes out one file per slide
  2. Import all the slide image files into Google Picasa and use them to create a video. You can add in some nice simple transitions (it hasn't got some of the horrific .ppt one's, but who cares) and it dumps out a WMV file of your specified resolution.

Saving out as .wmv isn't perfect, but I'm sure it's probably quite straightforward to convert that to some other format or Flash. We were looking to get them up on YouTube and this did the trick.


An easy (and free) way is to download OpenOffice and use Impress to open the PowerPoint presentation. Then export into a separate folder as HTML. Your presentation will consist of separate HTML files and images for each PowerPoint slide. Link to the title page, and you're done.


I was looking for a solution for similar problem.

I looked into http://phppowerpoint.codeplex.com/

But they have no better documentation, and even no demo page I could see over there and it was seemingly difficult.

What I came up with is: SkyDrive by Microsoft. https://skydrive.live.com

All you need is an account with them and upload your PPT and embed them straightaway. PPT player is quite clean to use and I like it.


I've noticed people recommending some PPT-to-Flash solutions, but Flash doesn't work on mobile devices. There's a hosting service called iSpring Cloud that automatically converts your PPT to combined Flash+HTML5 format and lets you generate an embed code for your website or blog. Full instructions can be found on their website.


Power point supports converting to mp4 which can be posted using a html5 video tag.

Save As > MPEG-4 Video (*.mp4)

<video controls autoplay reload="none" style="width:1000px;">
<source src="my_power_point.mp4" type="video/mp4" />
</video>

Another option is to use Apple Keynote on a Mac (Libre Office couldn't event open a pptx I had) to save the presentation to HTML5. It does a pretty good job to produce exactly what it displays in keynote, e.g. it includes animations and video. Compatibility of keynote to powerpoint has it's limits though (independent of the export).

ReferenceURL : https://stackoverflow.com/questions/39855/embed-a-powerpoint-presentation-into-html

반응형