integrate pdf reader in my site

allinone

New Member
Messages
227
Reaction score
0
Points
0
can any one tell meif this is possible, how to integrate flash palyer or adobe pdf reader in my webpage, i mean that if my user open my webpage on his computer and he don't have any of these softwares installed then he can use my webpage to open his documents.

i think some kind of emultor will help ?
 

marshian

New Member
Messages
526
Reaction score
9
Points
0
As far as I know, the user must have an application installed to view it, or it won't work...
Note: both viewers are freeware, so just redirect him to adobe.com :p
 

vTech

New Member
Messages
34
Reaction score
0
Points
0
u can stream flash by using the <embed> code but i dunno bout pdf files.....
but it's not advisable to stream directly from x10 server as it will use up ur bandwidth....
 

marshian

New Member
Messages
526
Reaction score
9
Points
0
u can stream flash by using the <embed> code but i dunno bout pdf files.....
but it's not advisable to stream directly from x10 server as it will use up ur bandwidth....

flash <embed>'s rely on the flash plugin, so you must already have it before you can view them.
 

woiwky

New Member
Messages
390
Reaction score
0
Points
0
You may be able to make a pdf reader using php's pdf functions. But I'm not sure if these are available with x10's php package.

As for the flash player, while it could be theoretically done, it's incalculably more efficient and easier to just have them install the flash plugin.

I would say that if the person viewing the page doesn't want to take 30 seconds to install a plugin, then the content isn't important enough to them in the first place to merit more work on your part(and the server).
 

LHVWB

New Member
Messages
1,308
Reaction score
0
Points
0
You may be able to make a pdf reader using php's pdf functions. But I'm not sure if these are available with x10's php package.

Testing shows that these functions are not availiable with x10hosting, at least not on the intermediate php version.

I would suggest displaying an error if they can't view pdf's and getting them to download the pluggin like woiwky said. PDF's are universal so you should be able to expect your visiters to be able to open them.

References to PDF plugin detection:
http://www.oreillynet.com/pub/a/javascript/2001/07/20/plugin_detection.html
http://forums.devshed.com/html-programming-1/detection-of-the-pdf-reader-plugin-933.html
 

scorch94

Member
Messages
228
Reaction score
0
Points
16
Don't worry, many, many people have Adobe Flash Player. I guess that number is more than 90%. ;)

As for PDF... you should try searching on php.net
 
Last edited:

javajenius

New Member
Messages
258
Reaction score
0
Points
0
Most people have adobe flash player, like 90% or more, if they don't, just provide a link to a html page.
So the problem is adobe pdfs,
Here is the solution: http://pdfmenot.com/tools/
Just follow the instructions, and change the links.



Who ever heard of someone not having flash ? :eek4::nuts:
 
Top