这是indexloc提供的服务,不要输入任何密码

Add Google files, videos, website content, & more

You can add files and other content to your site, including:

  • YouTube videos, calendars, and maps
  • Pages or sections of content from other websites
  • HTML, CSS, or JavaScript code

Important: If a file is stored on a shared drive or has restricted sharing permissions, only people with access will be able to see the file. Learn how to change sharing permissions of your Google files.  

Add Google Docs, Slides, Sheets, Forms & Charts

  1. On a computer, open a site in new Google Sites.
  2. At the right, click Insert.
  3. At the bottom of the menu, select the type of file you want to add, e.g. Docs, Slides, Sheets, Forms, or Charts.
  4. Choose a file and then Insert.
  5. To publish your changes, at the top right, click Publish.

Tip: To ensure all visitors to your site have access to the files you insert, first publish your document in Google Docs, Sheets or Slides. In Google Sites, go to Insert and then Embed and then insert the link to the published document.

You can also follow the instructions on how to add content from another website. First publish your document in Google Docs, Sheets or Slides. Then in Google Sites, go to Insert and then Embed and then insert the link to the published document.

Add a Google Group
  1. On a computer, open a site in the new Google Sites.
  2. Click the Insert tab.
  3. Select Embed.
  4. Enter the group URL.
  5. Click Insert.
Add YouTube videos, calendars & maps
  1. On a computer, open a site in new Google Sites.
  2. At the right, click Insert.
  3. Select the type of file you want to add, e.g. YouTube, Calendar, or Map.
  4. Choose a video, calendar, or place and then Select or Insert.
  5. To publish your changes, at the top right, click Publish.
Add a file from your computer
You can upload a .jpg, .png, or .gif image file from your computer.
Tip: To add other file types, use Google Drive.
  1. On a computer, open a site in new Google Sites.
  2. At the right, click Insert and then Images.
  3. Choose a file from your computer and then Open.
  4. To publish your changes, at the top right, click Publish.
Add a file from Google Drive
  1. On a computer, open a site in new Google Sites.
  2. On the right, click Insert and then Drive.
  3. Choose a file and then Insert.
  4. To publish your changes, at the top right, click Publish.
Share files with your site collaborators

To make sure files embedded in sites are accessible to all site collaborators and viewers, you must share file access with them when you publish a site. You can update sharing permissions when you embed a file, publish, or share a site.

If site collaborators don’t have permission to change the share settings of the embeds in the dialog, they don’t find an option to share them. The dialog shows them that not all site collaborators can access the embeds.

Add a page or section of content from another website

You can add web addresses, Google Apps Scripts, Data Studio reports, and App Maker apps. You can also embed a full website page.

  1. On a computer, open a site in new Google Sites.
  2. At the right, click Insert and then Embed.
    • You can also add an embed as an entire page.
      1. At the right, click Pages.
      2. Hover over Add Add image.
      3. Click Full page embed .
  3. Enter the URL you want to embed.
  4. Click Insert.
  5. To publish your changes, at the top right, click Publish.

Tip: Some websites won’t let you add their content to your site. If you can’t add content, contact the website’s owner.

Add HTML, CSS, or JavaScript code to your site
  1. On a computer, open a site in new Google Sites.
  2. At the right, click Insert and then Embed.
    • You can also add an embed as an entire page.
      1. At the right, click Pages.
      2. Hover over Add Add image.
      3. Click Full page embed .
  3. Click Embed code.
  4. Add your code, then click Next.
    1. JavaScript code must be within <script> tags.
    2. CSS code must be within <style> tags.
  5. Click Insert.
  6. To publish your changes, at the top right, click Publish.

Search embedded Drive files in Google Sites

You can search for content within the Drive files that you embedded in your site, like Google Docs, Sheets, and Slides files.

  1. On your computer, open a site in Google Sites.
  2. At the top right of the page, click Search.
  3. In the search bar, enter the keywords or the file name you want.
  4. To find content from Drive files embedded in the site, at the top of the search results, click Embedded files tab.
Fix issues with embedded files

Troubleshoot if the “Embedded files” tab doesn’t display

For the “Embedded files” tab to show to site viewers, your site must be indexed and contain at least one embedded file.

To get your site indexed, you can publish or republish the site.

Fix a “File indexing issue” error

A “File indexing issue” error may show if a file embedded in your site has reached its share limit. This happens because the file is embedded in too many sites.

If you get this error, other embedded files that are within their share limits remain indexed and searchable by viewers.

To resolve the error, you can:

  • Remove the file from the site.
  • Create a copy of the file and embed the new copy in the site.

*Please note that only Core Services for Google Workspace are subject to the Data Processing Amendment to Google Workspace. 

Search
Clear search
Close search
Main menu
13709286318134278576
true
Search Help Center
true
true
true
true
true
70
false
false
false
false