搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

why are videos and tweets no longer being embedded into web pages?

  • 14 回覆
  • 5 有這個問題
  • 2 次檢視
  • 最近回覆由 alguien

more options

i followed the instructions and went into preferences and unclicked the "tracking protection in private windows" box and still i am seeing no embedded tweets or videos in any web pages. this started happening about 2 days ago.

i would seriously hate to use another browser if this cannot be resolved.

Thanks.

i followed the instructions and went into preferences and unclicked the "tracking protection in private windows" box and still i am seeing no embedded tweets or videos in any web pages. this started happening about 2 days ago. i would seriously hate to use another browser if this cannot be resolved. Thanks.

被選擇的解決方法

Thanks, height: 0px (listed on the right side) is the problem. If no height is set for an iframe, it will be about 300 pixels tall (plus or minus a scroll bar); this value is being intentionally set, but I don't know the nature of the problem. Either there is an error computing the correct height of the content, or something* is intentionally interfering with the content, something which is disabled in safe mode.

When you disabled all your extensions, did you also quit/restart Firefox in case any of them are not actually disabled until you do that?

從原來的回覆中察看解決方案 👍 0

所有回覆 (14)

more options

See replacement below

由 jscher2000 - Support Volunteer 於 修改

more options

Sorry, that was the keyboard combination for Windows. This is for Mac:

In addition to Firefox's built-in Tracking Protection feature blocking third party social content, add-ons that target trackers and scripts could block it. Could you test in Firefox's Safe Mode? In its Safe Mode, Firefox temporarily deactivates extensions, hardware acceleration, and some other advanced features to help you assess whether these are causing the problem.

If Firefox is not running: Hold down the option/alt key when starting Firefox.

If Firefox is running: You can restart Firefox in Safe Mode using either:

  • "3-bar" menu button > "?" button > Restart with Add-ons Disabled
  • Help menu > Restart with Add-ons Disabled

and OK the restart.

Both scenarios: A small dialog should appear. Click "Start in Safe Mode" (not Refresh).

Any improvement? (More info: Diagnose Firefox issues using Troubleshoot Mode)

more options

it works when i start in safe mode, but does this mean i have to start in safe mode forever? because that doesn't seem like much of a solution.

more options

No, Safe Mode is just a testing technique. Do you have any extensions that filter content out of web pages? These might include names like:

  • Ad blockers: Adblock Plus, uBlock Origin
  • Privacy extensions: Privacy Badger, Disconnect, Ghostery, Blur
  • Script-blocking extensions: NoScript
  • Comprehensive "firewall" extensions: uMatrix

When you're back in a regular session (quit the safe mode session and start up normally):

You can view, disable, and often remove unwanted or unknown extensions on the Add-ons page. Either:

  • Command+Shift+a (Windows: Ctrl+Shift+a)
  • "3-bar" menu button (or Tools menu) > Add-ons

In the left column, click Extensions. Then cast a critical eye over the list on the right side. All Mozilla-installed extensions are hidden from this page, so what you see here is your choice/your responsibility to manage. If in doubt, disable, or click the extension's Preferences button to learn more about configuring settings.

Often a link will appear above at least one disabled extension to restart Firefox. You can complete your work on the tab and click one of the links as the last step.

Any improvement?

more options

it works when i turn off adblock plus. but does this mean i have to settle for web pages infested with advertisements in order to read tweets or view videos, however?

thanks, BTW, for the assistance you've provided, thus far.

more options

i take that back. i disabled every single add on that i have and i still am not seeing embedded tweets

more options

Sometimes Adblock Plus users do need to disable protection on video sites that have an unskippable pre-roll ad, but I haven't heard that Adblock plus causes issues with tweets. Please note that Adblock Plus can load an apply multiple different rule/filter sets, so different users may have different results depending on how they have it set up.

Can you give a specific address of a page where there should be embedded tweets and you don't see them? What do you see instead? For example:

  • completely blank area
  • partially drawn area (e.g., a scroll box, some lines)
  • error message

If you right-click (or on Mac it might be Ctrl+click) in the missing tweet area to call up the context menu, does it have a "This Frame" item and if you expand that and use "Open Frame in New Tab" do you get tweets or just a blank page?

more options

Hi, and thanks for assisting.

here is a URL for a page i was looking at where the embedded tweets were not showing:

http://www.rawstory.com/2017/06/a-real-man-would-have-called-an-ambulance-internet-recoils-in-horror-at-trump-facelift-tweets/

what i see is even less than a completely blank area as there is not even any sort of break where the tweet should appear. i only am aware of a missing tweet due to some prompting in the previous text. this renders it virtually impossible to get any sort of context menu or anything related to a frame.

it's as if a tweet never existed.

more options

Hmm, could you take a look under the covers. Firefox has a web developer tool called the Inspector you can use to look at whether elements are in the page and possibly why they might be hidden. I have attached a screenshot of what I see in the Inspector when I right-click > Inspect Element on the heading above the first tweet in the story.

First question, do you see the iframe there and does it have any content (e.g., html tag, body tag).

Second, if you click iframe and look at the right column, you would generally see a panel called Rules. Or you can activate that panel. Does it show a display: none rule at the top? That would be one way that an add-on might hide the frame.

由 jscher2000 - Support Volunteer 於 修改

more options

i have taken a screen shot with everything. let me know if you see anything amiss.

more options

Thanks.

If you "arrow down" in the inspector to select the iframe, you can see the specific style rules added to size the tweet, over on the right side.

If you "arrow right" the "tree" should expand and show more about what's going on there. Not sure if that will be helpful, but you can confirm that some content is in there.

Sample screenshot attached.

more options

here is a screen shot with the iframe open. do you see anything unusual?

more options

選擇的解決方法

Thanks, height: 0px (listed on the right side) is the problem. If no height is set for an iframe, it will be about 300 pixels tall (plus or minus a scroll bar); this value is being intentionally set, but I don't know the nature of the problem. Either there is an error computing the correct height of the content, or something* is intentionally interfering with the content, something which is disabled in safe mode.

When you disabled all your extensions, did you also quit/restart Firefox in case any of them are not actually disabled until you do that?

more options

i did what you told me to do in the final paragraph and i am now seeing embedded tweets again.

thanks for staying with me all day.

h