Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Publisher / Web Design / December 2007

Tip: Looking for answers? Try searching our database.

Objects, video clips Version 2007 - Web design

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Herb Mann - 26 Dec 2007 18:44 GMT
I don't get the insertion of objects. When I try to insert a video clip, it
will play in the designer, but not on the actual web site. I know that I can
hyperlink it to the appropriate clip on the web site, but that's not really
what I want to happen. I just want the video clip to start playing right
within the web. Is that doable?

Herb Mann
DavidF - 27 Dec 2007 13:28 GMT
It sounds like you want some sort of streaming video, and that is not
supported by Publisher. I have seen Publisher built sites with embedded
video players. I would assume that the code was inserted via the insert html
code fragment tool, but can't say where to find the code for the video
players. Try Googling the subject if no one else jumps in with a suggestion.

DavidF

>I don't get the insertion of objects. When I try to insert a video clip, it
> will play in the designer, but not on the actual web site. I know that I
[quoted text clipped - 5 lines]
>
> Herb Mann
Herb Mann - 27 Dec 2007 13:59 GMT
That is exactly what I was trying to do. I'll Google around. Thanks.

Speaking of the "Insert html fragment code tool", that's another one I don't
get. I don't understand how it works. I like for my links to open in a new
window so I manually insert 'target="_blank" at every llink in the htm files
before I upload via Coreftp. When i use the tool you speak of, I don't see
how that actually get's inserted in the code.

> It sounds like you want some sort of streaming video, and that is not
> supported by Publisher. I have seen Publisher built sites with embedded
[quoted text clipped - 13 lines]
> >
> > Herb Mann
DavidF - 27 Dec 2007 15:07 GMT
Herb,

Publisher web pages are basically static fixed pages. As I see it, the
insert html code fragment tool is handy for adding some dynamic features
that are not directly supported by Publisher. Just one example would be
javascript slide shows, or perhaps a video player. You can Google for all
kinds of free script where you just insert the code snippets provided into
the Publisher page. Then when you Publish to the Web and produce the html
code...the web pages, Publisher will write that code into the web pages at
the same time it converts the rest of the page to html. It is not intended
as a tool to edit the code that is produced by Publisher...it just adds to
it. That means you can't use it to edit normal hyperlinks to open in a new
window. However, you can use it to create hyperlinks that will open in a new
window.

Reference:
http://office.microsoft.com/en-us/publisher/HA011587451033.aspx
describes two methods. I found it easier to use the html method at first,
but eventually found the ECMAScript code approach more versatile, especially
if I had more than one hyperlink on a page that I wanted to open in a new
window.

If you choose to use the ECMAScript code approach note that the first
javascript code snippet under step 2 is incorrect on the website. Use this
instead:

<script language="JavaScript" type="text/javascript">function Show(Url,
Name, Features) { window.open(Url, Name, Features); }</script>

Just copy and paste the code snippet into a code fragment box, and then put
that box somewhere on the page where it is out of the way. It will not
appear when you actually do a web page preview.

Then when I am ready to write the hyperlink code snippet that will open in a
new window, I create a separate text box that I drag off into the scratch
area just for that purpose. I find it easier to write the links there and
then just copy and paste in the hyperlink address field when I am ready to
insert the hyperlink. You can use Ctrl + V to paste. Once you get the script
for one link to work correctly, then you have a "template" in that text box
that you can just change the URL.

I also generally use a link that does not put any limiting features on the
new window. Here is a sample:

javascript:Show('http://www.google.com/','newwindow','')

Just modify the URL of the site you want to open in a new window where it
says "google.com", copy the modified script, and paste it into the address
field of the hyperlink dialog.

DavidF

> That is exactly what I was trying to do. I'll Google around. Thanks.
>
[quoted text clipped - 28 lines]
>> >
>> > Herb Mann
Herb Mann - 27 Dec 2007 23:05 GMT
Wow. Thanks. I am going to have ponder this, but sooner or later it will dawn
on me. So, thanks for the abundance of information.

> Herb,
>
[quoted text clipped - 80 lines]
> >> >
> >> > Herb Mann
Herb Mann - 28 Dec 2007 01:21 GMT
David, I tried this and get "error on page". I've acutally copied what I have
in my hyperlink below:

<script language="JavaScript" type="text/javascript">function Show(Url,
Name, Features) {window.open(Url, Name, Features); }</script>

I tried using my own url in this and got the "error on page". So, I tried
your simpler sample and got an error "Internet Explorer Cannot Download,
Unspecified Error". I  notice that the final " in your sample changes to a
%22 on its own.

javascript:Show('http://www.google.com/','newwindow'.%22)

What am I missing?

> Herb,
>
[quoted text clipped - 80 lines]
> >> >
> >> > Herb Mann
DavidF - 28 Dec 2007 01:53 GMT
Herb,

One of the reasons I build the links in a separate text box, and copy and
paste is to avoid errors. The first code snippet is correct. The code
snippet that you used for the google link is incorrect. Study the example on
the website, and my simple one. Hint...study what comes after 'newwindow'.
Notice single quotes...notice commas or periods...notice spaces or the lack
of them. Try again. Don't you just love writing code? <g>

DavidF

> David, I tried this and get "error on page". I've acutally copied what I
> have
[quoted text clipped - 117 lines]
>> >> >
>> >> > Herb Mann
Herb Mann - 28 Dec 2007 03:34 GMT
Hey, I am making progress getting the first one right. On the second one I
did notice that I had put a period where a comma should go after
'newwindow',") and I corrected that...still get the error message. I have
both your code printed out and mine printed out and cannot see any other
errors. Even with the correction the final " converts to %22.

> Herb,
>
[quoted text clipped - 128 lines]
> >> >> >
> >> >> > Herb Mann
Herb Mann - 28 Dec 2007 03:51 GMT
Aha!!!! The end is two single quotes rather than a double quote mark. Hard to
see in a san serif type. Eureka. It worked. I haven't had this much fun since
i taught myself to program in dBase II, then dBase III, then Foxpro. It was a
steep hill to climb until I finallly "got it" Thanks gobs.

> Herb,
>
[quoted text clipped - 128 lines]
> >> >> >
> >> >> > Herb Mann
DavidF - 28 Dec 2007 13:35 GMT
You are welcome. I don't have any of the background you have. That's part of
the reason I use the text box in the scratch area, formatted to Courier, or
even NotePad, and use copy and paste as much as possible. A coder I
ain't....but that is one of the primary reasons I use Publisher.

By the way, that %22 you got is probably a space. Try to avoid spaces in any
path or file name.

DavidF

> Aha!!!! The end is two single quotes rather than a double quote mark. Hard
> to
[quoted text clipped - 168 lines]
>> >> >> >
>> >> >> > Herb Mann
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.