-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(de): translate diff [bc7875d9a6]
Machine translation from English using gpt-4o-2024-08-06. Source: mdn/content@bc7875d System prompt: ```md You are tasked with translating MDN Web Docs content from English to German. Ensure that the translation is accurate, preserves technical terminology, and follows the rules provided below. # Rules for Translation 1. Format: - The input is a Markdown file. - The output should be a Markdown file. - Return the raw output, without wrapping it in a Markdown code block. - Keep GFM alert syntax untranslated, such as `> [!NOTE]`, `> [!WARNING]`, and `> [!CALLOUT]`. - If the input contains HTML tags wrapped in backticks (e.g. `<video>`), make sure they are wrapped in the output. 2. Language: - Prefer formal language ("Sie") over informal language ("du"). 3. Code blocks: - Do not translate code blocks. - Do not translate terms wrapped in backticks. 4. Macro calls: - MDN uses macros for dynamic content insertion. These macros must remain **unchanged** and not translated. - Macro calls start with `{{`, followed by the macro name, optional parameters, and end with `}}`. - Avoid invalid macro calls by ensuring curly braces, parentheses, and quotes are closed properly. 5. Technical terms and code snippets in text: - Keep technical terms like element names, attributes, and method names in **English**. Only translate the surrounding descriptive text. 6. Links and References: - Translate link descriptions, but keep the URLs and their structure intact. - Do not change the locale in URLs. 7. Glossary: - "Browser compatibility" => "Browser-Kompatibilität" - "Guide" => "Leitfaden" - "How to" => "Anleitung" # Translation Scope Translate the following Markdown content from **English** to **German** while adhering to the rules above. ```
- Loading branch information
Showing
37 changed files
with
1,109 additions
and
220 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
title: "HTMLMediaElement: played-Eigenschaft" | ||
short-title: played | ||
slug: Web/API/HTMLMediaElement/played | ||
l10n: | ||
sourceCommit: 2e84c228bf55def31fcd3ac3a0227b5faed99657 | ||
--- | ||
|
||
{{APIRef("HTML DOM")}} | ||
|
||
Die **`played`**-Eigenschaft, eine schreibgeschützte Eigenschaft der Schnittstelle [`HTMLMediaElement`](/de/docs/Web/API/HTMLMediaElement), zeigt die Zeitbereiche an, in denen die Ressource, eine {{htmlelement("audio")}}- oder {{htmlelement("video")}}-Mediendatei, abgespielt wurde. Sie gibt ein neues [`TimeRanges`](/de/docs/Web/API/TimeRanges)-Objekt zurück, das die Bereiche der Medienquelle enthält, die der Browser zum Zeitpunkt der Auswertung der Eigenschaft abgespielt hat. | ||
|
||
## Wert | ||
|
||
Ein [`TimeRanges`](/de/docs/Web/API/TimeRanges)-Objekt, das die abgespielten Zeitbereiche darstellt. | ||
|
||
## Beispiele | ||
|
||
```js | ||
const media = document.querySelector("audio"); | ||
const playedTimeRanges = media.played; | ||
let timePlayed = 0; | ||
// calculate the total time the media has played | ||
for (let i = 0; i < playedTimeRanges.length; i++) { | ||
timePlayed += playedTimeRanges.end(i) - playedTimeRanges.start(i); | ||
} | ||
console.log(`The media played for a total of ${timePlayed} seconds.`); | ||
``` | ||
|
||
## Spezifikationen | ||
|
||
{{Specifications}} | ||
|
||
## Browser-Kompatibilität | ||
|
||
{{Compat}} | ||
|
||
## Siehe auch | ||
|
||
- [`seeked`](/de/docs/Web/API/HTMLMediaElement/seeked_event)-Ereignis | ||
- [`progress`](/de/docs/Web/API/HTMLMediaElement/progress_event)-Ereignis | ||
- [`HTMLMediaElement.seekable`](/de/docs/Web/API/HTMLMediaElement/seekable) | ||
- [`HTMLMediaElement.buffered`](/de/docs/Web/API/HTMLMediaElement/buffered) | ||
- [`HTMLVideoElement`](/de/docs/Web/API/HTMLVideoElement) | ||
- [`HTMLAudioElement`](/de/docs/Web/API/HTMLAudioElement) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
title: "HTMLMediaElement: seeking-Eigenschaft" | ||
short-title: seeking | ||
slug: Web/API/HTMLMediaElement/seeking | ||
l10n: | ||
sourceCommit: 2e84c228bf55def31fcd3ac3a0227b5faed99657 | ||
--- | ||
|
||
{{APIRef("HTML DOM")}} | ||
|
||
Die schreibgeschützte **`seeking`**-Eigenschaft des [`HTMLMediaElement`](/de/docs/Web/API/HTMLMediaElement)-Interfaces ist ein Boolean-Wert, der angibt, ob die Ressource, das {{htmlelement("audio")}} oder {{htmlelement("video")}}, gerade dabei ist, zu einer neuen Position zu springen. | ||
|
||
## Wert | ||
|
||
Ein boolean-Wert. | ||
|
||
## Beispiele | ||
|
||
```js | ||
const el = document.querySelector("video"); | ||
console.log(el.seeking); // true or false | ||
``` | ||
|
||
## Spezifikationen | ||
|
||
{{Specifications}} | ||
|
||
## Browser-Kompatibilität | ||
|
||
{{Compat}} | ||
|
||
## Siehe auch | ||
|
||
- [`seeking`](/de/docs/Web/API/HTMLMediaElement/seeking_event)-Ereignis | ||
- [`seeked`](/de/docs/Web/API/HTMLMediaElement/seeked_event)-Ereignis | ||
- [`HTMLVideoElement`](/de/docs/Web/API/HTMLVideoElement) | ||
- [`HTMLAudioElement`](/de/docs/Web/API/HTMLAudioElement) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.